# HG changeset patch # User Matt Mackall # Date 1181614164 18000 # Node ID 050fa240db9cebc0fb6238c09de40fcfb867bb95 # Parent 30bc57094bfc410318dbf60cf975ff31d2ceb303 dispatch: accept an abbreviation of --repository diff -r 30bc57094bfc -r 050fa240db9c mercurial/cmdutil.py --- a/mercurial/cmdutil.py Mon Jun 11 21:09:24 2007 -0500 +++ b/mercurial/cmdutil.py Mon Jun 11 21:09:24 2007 -0500 @@ -266,7 +266,7 @@ # read the local repository .hgrc into a local ui object # this will trigger its extensions to load - path = earlygetopt(["-R", "--repository"], args) + path = earlygetopt(["-R", "--repository", "--repo"], args) if not path: path = findrepo() or "" if path: