2342 |
2342 |
2343 def identify(ui, repo, source=None, rev=None, |
2343 def identify(ui, repo, source=None, rev=None, |
2344 num=None, id=None, branch=None, tags=None, bookmarks=None): |
2344 num=None, id=None, branch=None, tags=None, bookmarks=None): |
2345 """identify the working copy or specified revision |
2345 """identify the working copy or specified revision |
2346 |
2346 |
2347 Print a summary identifiying the repository state at REV |
2347 Print a summary identifying the repository state at REV using one or |
2348 using one or two parent hash identifiers, followed by a |
2348 two parent hash identifiers, followed by a "+" if the working |
2349 "+" if there are uncommitted changes in the working directory, |
2349 directory has uncommitted changes, the branch name (if not default), |
2350 the branch name (omitted if default) and a list of tags, bookmarks. |
2350 a list of tags, and a list of bookmarks. |
2351 |
2351 |
2352 When REV is not given, print a summary of the current state of the |
2352 When REV is not given, print a summary of the current state of the |
2353 repository. |
2353 repository. |
2354 |
2354 |
2355 Specifying a path to a repository root or Mercurial bundle will |
2355 Specifying a path to a repository root or Mercurial bundle will |