--- a/mercurial/commands.py Thu Nov 24 11:38:16 2011 +0100
+++ b/mercurial/commands.py Sat Nov 26 00:10:12 2011 +0100
@@ -3263,10 +3263,11 @@
('i', 'id', None, _('show global revision id')),
('b', 'branch', None, _('show branch')),
('t', 'tags', None, _('show tags')),
- ('B', 'bookmarks', None, _('show bookmarks'))],
+ ('B', 'bookmarks', None, _('show bookmarks')),
+ ] + remoteopts,
_('[-nibtB] [-r REV] [SOURCE]'))
def identify(ui, repo, source=None, rev=None,
- num=None, id=None, branch=None, tags=None, bookmarks=None):
+ num=None, id=None, branch=None, tags=None, bookmarks=None, **opts):
"""identify the working copy or specified revision
Print a summary identifying the repository state at REV using one or
@@ -3310,7 +3311,7 @@
if source:
source, branches = hg.parseurl(ui.expandpath(source))
- repo = hg.peer(ui, {}, source)
+ repo = hg.peer(ui, opts, source)
revs, checkout = hg.addbranchrevs(repo, repo, branches, None)
if not repo.local():