# HG changeset patch # User Vadim Gelfer # Date 1141950441 28800 # Node ID d8a03e9b37763960f65d3056331d86fed8a50c33 # Parent 258e3a7955b882d4f6badb9d7bc21b661d15b49b# Parent 8a8ab47cccdebf628ffa389a2cee177f7ad1f5b5 merge with crew. diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2563,9 +2563,9 @@ table = { "recover": (recover, [], _('hg recover')), "^remove|rm": (remove, - [('I', 'include', [], _('include names matching the given patterns')), - ('X', 'exclude', [], _('exclude names matching the given patterns')), - ('f', 'force', None, _('remove file even if modified'))], + [('f', 'force', None, _('remove file even if modified')), + ('I', 'include', [], _('include names matching the given patterns')), + ('X', 'exclude', [], _('exclude names matching the given patterns'))], _('hg remove [OPTION]... FILE...')), "rename|mv": (rename, @@ -2574,7 +2574,7 @@ table = { _('forcibly copy over an existing managed file')), ('I', 'include', [], _('include names matching the given patterns')), ('X', 'exclude', [], _('exclude names matching the given patterns'))], - _('hg rename [OPTION]... [SOURCE]... DEST')), + _('hg rename [OPTION]... SOURCE... DEST')), "^revert": (revert, [('r', 'rev', '', _('revision to revert to')), diff --git a/mercurial/httprepo.py b/mercurial/httprepo.py --- a/mercurial/httprepo.py +++ b/mercurial/httprepo.py @@ -67,6 +67,9 @@ class httprepository(remoterepository): def dev(self): return -1 + def lock(self): + raise util.Abort(_('operation not supported over http')) + def do_cmd(self, cmd, **args): self.ui.debug(_("sending %s command\n") % cmd) q = {"cmd": cmd}