--- a/hgext/convert/cvs.py Fri May 11 18:41:04 2012 +0200
+++ b/hgext/convert/cvs.py Sat May 12 15:54:54 2012 +0200
@@ -121,12 +121,13 @@
pf = open(cvspass)
for line in pf.read().splitlines():
part1, part2 = line.split(' ', 1)
+ # /1 :pserver:user@example.com:2401/cvsroot/foo
+ # Ah<Z
if part1 == '/1':
- # /1 :pserver:user@example.com:2401/cvsroot/foo Ah<Z
part1, part2 = part2.split(' ', 1)
format = format1
+ # :pserver:user@example.com:/cvsroot/foo Ah<Z
else:
- # :pserver:user@example.com:/cvsroot/foo Ah<Z
format = format0
if part1 == format:
passw = part2