Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 13952:1416b9118540 stable
identify/help: say what the command does first, mention bookmarks
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Tue, 19 Apr 2011 00:41:47 +0300 |
parents | adf3c4401c5d |
children | 1184bb274cb3 3c753f9a2fbc |
comparison
equal
deleted
inserted
replaced
13940:b7b26e54e37a | 13952:1416b9118540 |
---|---|
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 With no revision, print a summary of the current state of the | 2247 Print a summary identifiying the repository state at REV |
2248 using one or two parent hash identifiers, followed by a | |
2249 "+" if there are uncommitted changes in the working directory, | |
2250 the branch name (omitted if default) and a list of tags, bookmarks. | |
2251 | |
2252 When REV is not given, print a summary of the current state of the | |
2248 repository. | 2253 repository. |
2249 | 2254 |
2250 Specifying a path to a repository root or Mercurial bundle will | 2255 Specifying a path to a repository root or Mercurial bundle will |
2251 cause lookup to operate on that repository/bundle. | 2256 cause lookup to operate on that repository/bundle. |
2252 | |
2253 This summary identifies the repository state using one or two | |
2254 parent hash identifiers, followed by a "+" if there are | |
2255 uncommitted changes in the working directory, a list of tags for | |
2256 this revision and a branch name for non-default branches. | |
2257 | 2257 |
2258 Returns 0 if successful. | 2258 Returns 0 if successful. |
2259 """ | 2259 """ |
2260 | 2260 |
2261 if not repo and not source: | 2261 if not repo and not source: |