# HG changeset patch # User Matt Mackall # Date 2011-04-19 01:52:08 # Node ID 1184bb274cb3e683e2aabb89d0ebbad322cdb2a2 # Parent ae10a5e8e558d2b53a9b2a94f30b91ec4ce60002 # Parent 1416b9118540628b646a8ae30205b0c074a43518 merge with stable diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2344,17 +2344,17 @@ def identify(ui, repo, source=None, rev= num=None, id=None, branch=None, tags=None, bookmarks=None): """identify the working copy or specified revision - With no revision, print a summary of the current state of the + Print a summary identifiying the repository state at REV + using one or two parent hash identifiers, followed by a + "+" if there are uncommitted changes in the working directory, + the branch name (omitted if default) and a list of tags, bookmarks. + + When REV is not given, print a summary of the current state of the repository. Specifying a path to a repository root or Mercurial bundle will cause lookup to operate on that repository/bundle. - This summary identifies the repository state using one or two - parent hash identifiers, followed by a "+" if there are - uncommitted changes in the working directory, a list of tags for - this revision and a branch name for non-default branches. - Returns 0 if successful. """