Show More
@@ -29,7 +29,8 b' def relfilter(repo, files):' | |||
|
29 | 29 | def relpath(repo, args): |
|
30 | 30 | if os.getcwd() != repo.root: |
|
31 | 31 | p = os.getcwd()[len(repo.root) + 1: ] |
|
32 |
return [ util.pconvert(os.path.normpath(os.path.join(p, x))) |
|
|
32 | return [ util.pconvert(os.path.normpath(os.path.join(p, x))) | |
|
33 | for x in args ] | |
|
33 | 34 | return args |
|
34 | 35 | |
|
35 | 36 | def dodiff(ui, repo, files = None, node1 = None, node2 = None): |
@@ -362,7 +363,8 b' def debugcheckdirstate(ui, repo):' | |||
|
362 | 363 | print "%s in state %s, but also listed in manifest1" % (f, state) |
|
363 | 364 | errors += 1 |
|
364 | 365 | if state in "m" and f not in m1 and f not in m2: |
|
365 |
print "%s in state %s, but not listed in either manifest" % |
|
|
366 | print "%s in state %s, but not listed in either manifest" % \ | |
|
367 | (f, state) | |
|
366 | 368 | errors += 1 |
|
367 | 369 | for f in m1: |
|
368 | 370 | state = repo.dirstate.state(f) |
@@ -370,7 +372,7 b' def debugcheckdirstate(ui, repo):' | |||
|
370 | 372 | print "%s in manifest1, but listed as state %s" % (f, state) |
|
371 | 373 | errors += 1 |
|
372 | 374 | if errors: |
|
373 |
print ".hg/dirstate inconsistent with current parent's manifest |
|
|
375 | print ".hg/dirstate inconsistent with current parent's manifest" | |
|
374 | 376 | sys.exit(1) |
|
375 | 377 | |
|
376 | 378 | def debugdumpdirstate(ui, repo): |
General Comments 0
You need to be logged in to leave comments.
Login now