Show More
@@ -384,7 +384,7 b' class mapfile(dict):' | |||||
384 | return |
|
384 | return | |
385 | for i, line in enumerate(fp): |
|
385 | for i, line in enumerate(fp): | |
386 | try: |
|
386 | try: | |
387 | key, value = line.splitlines()[0].rsplit(' ', 1) |
|
387 | key, value = line.splitlines()[0].rstrip().rsplit(' ', 1) | |
388 | except ValueError: |
|
388 | except ValueError: | |
389 | raise util.Abort( |
|
389 | raise util.Abort( | |
390 | _('syntax error in %s(%d): key/value pair expected') |
|
390 | _('syntax error in %s(%d): key/value pair expected') |
@@ -49,7 +49,7 b' test invalid splicemap' | |||||
49 | splice repo2 on repo1 |
|
49 | splice repo2 on repo1 | |
50 |
|
50 | |||
51 | $ cat > splicemap <<EOF |
|
51 | $ cat > splicemap <<EOF | |
52 | > $CHILDID1 $PARENTID1 |
|
52 | > $CHILDID1 $PARENTID1 | |
53 | > $CHILDID2 $PARENTID2,$CHILDID1 |
|
53 | > $CHILDID2 $PARENTID2,$CHILDID1 | |
54 | > EOF |
|
54 | > EOF | |
55 | $ hg clone repo1 target1 |
|
55 | $ hg clone repo1 target1 |
General Comments 0
You need to be logged in to leave comments.
Login now