fix strip on windows
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 15 Dec 2006 23:19:12 +0100
changeset 3901 733d56b8830f
parent 3900 2b3175acb653
child 3902 0d27502a804c
child 3904 0dd07dd63db3
fix strip on windows c: was interpreted as a protocol, prepend file: to the bundle file name
hgext/mq.py
--- a/hgext/mq.py	Fri Dec 15 19:30:20 2006 +0100
+++ b/hgext/mq.py	Fri Dec 15 23:19:12 2006 +0100
@@ -702,6 +702,7 @@
         if saveheads:
             backupch = repo.changegroupsubset(savebases.keys(), saveheads, 'strip')
             chgrpfile = bundle(backupch)
+            chgrpfile = 'file:%s' % chgrpfile
 
         stripall(rev, revnum)