diff hgext/mq.py @ 3901:733d56b8830f

fix strip on windows c: was interpreted as a protocol, prepend file: to the bundle file name
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 15 Dec 2006 23:19:12 +0100
parents e88d03c2a3d9
children 0d27502a804c 6e0cb0790e23
line wrap: on
line diff
--- 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)