Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
3900:2b3175acb653 | 3901:733d56b8830f |
---|---|
700 backupch = repo.changegroupsubset([rev], chlog.heads(), 'strip') | 700 backupch = repo.changegroupsubset([rev], chlog.heads(), 'strip') |
701 bundle(backupch) | 701 bundle(backupch) |
702 if saveheads: | 702 if saveheads: |
703 backupch = repo.changegroupsubset(savebases.keys(), saveheads, 'strip') | 703 backupch = repo.changegroupsubset(savebases.keys(), saveheads, 'strip') |
704 chgrpfile = bundle(backupch) | 704 chgrpfile = bundle(backupch) |
705 chgrpfile = 'file:%s' % chgrpfile | |
705 | 706 |
706 stripall(rev, revnum) | 707 stripall(rev, revnum) |
707 | 708 |
708 change = chlog.read(rev) | 709 change = chlog.read(rev) |
709 chlog.strip(revnum, revnum) | 710 chlog.strip(revnum, revnum) |