2242 |
2242 |
2243 def identify(ui, repo, source=None, rev=None, |
2243 def identify(ui, repo, source=None, rev=None, |
2244 num=None, id=None, branch=None, tags=None, bookmarks=None): |
2244 num=None, id=None, branch=None, tags=None, bookmarks=None): |
2245 """identify the working copy or specified revision |
2245 """identify the working copy or specified revision |
2246 |
2246 |
2247 Print a summary identifiying the repository state at REV |
2247 Print a summary identifying the repository state at REV using one or |
2248 using one or two parent hash identifiers, followed by a |
2248 two parent hash identifiers, followed by a "+" if the working |
2249 "+" if there are uncommitted changes in the working directory, |
2249 directory has uncommitted changes, the branch name (if not default), |
2250 the branch name (omitted if default) and a list of tags, bookmarks. |
2250 a list of tags, and a list of bookmarks. |
2251 |
2251 |
2252 When REV is not given, print a summary of the current state of the |
2252 When REV is not given, print a summary of the current state of the |
2253 repository. |
2253 repository. |
2254 |
2254 |
2255 Specifying a path to a repository root or Mercurial bundle will |
2255 Specifying a path to a repository root or Mercurial bundle will |