Show More
@@ -1162,8 +1162,8 b' def debugstate(ui, repo):' | |||
|
1162 | 1162 | % (dc[file_][0], dc[file_][1] & 0777, dc[file_][2], |
|
1163 | 1163 | time.strftime("%x %X", |
|
1164 | 1164 | time.localtime(dc[file_][3])), file_)) |
|
1165 | for f in repo.dirstate.copies: | |
|
1166 |
ui.write(_("copy: %s -> %s\n") % (repo.dirstate.copie |
|
|
1165 | for f in repo.dirstate.copies(): | |
|
1166 | ui.write(_("copy: %s -> %s\n") % (repo.dirstate.copied(f), f)) | |
|
1167 | 1167 | |
|
1168 | 1168 | def debugdata(ui, file_, rev): |
|
1169 | 1169 | """dump the contents of an data file revision""" |
@@ -2472,8 +2472,10 b' def status(ui, repo, *pats, **opts):' | |||
|
2472 | 2472 | for f in changes: |
|
2473 | 2473 | ui.write(format % f) |
|
2474 | 2474 | if ((all or opts.get('copies')) and not opts.get('no_status') |
|
2475 |
and opt == 'added' |
|
|
2476 |
|
|
|
2475 | and opt == 'added'): | |
|
2476 | copied = repo.dirstate.copied(f) | |
|
2477 | if copied: | |
|
2478 | ui.write(' %s%s' % (copied, end)) | |
|
2477 | 2479 | |
|
2478 | 2480 | def tag(ui, repo, name, rev_=None, **opts): |
|
2479 | 2481 | """add a tag for the current tip or a given revision |
General Comments 0
You need to be logged in to leave comments.
Login now