Show More
@@ -1441,10 +1441,10 b' def identify(ui, repo):' | |||||
1441 | hash identifiers, followed by a "+" if there are uncommitted changes |
|
1441 | hash identifiers, followed by a "+" if there are uncommitted changes | |
1442 | in the working directory, followed by a list of tags for this revision. |
|
1442 | in the working directory, followed by a list of tags for this revision. | |
1443 | """ |
|
1443 | """ | |
|
1444 | ||||
1444 | parents = [p for p in repo.dirstate.parents() if p != nullid] |
|
1445 | parents = [p for p in repo.dirstate.parents() if p != nullid] | |
1445 | if not parents: |
|
1446 | if not parents: | |
1446 | ui.write(_("unknown\n")) |
|
1447 | parents = [nullid] | |
1447 | return |
|
|||
1448 |
|
1448 | |||
1449 | hexfunc = ui.debugflag and hex or short |
|
1449 | hexfunc = ui.debugflag and hex or short | |
1450 | modified, added, removed, deleted = repo.status()[:4] |
|
1450 | modified, added, removed, deleted = repo.status()[:4] |
General Comments 0
You need to be logged in to leave comments.
Login now