Mercurial > hg
changeset 1870:8a8ab47cccde
make push over http print good error message.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Thu, 09 Mar 2006 12:18:59 -0800 |
parents | 42c76ec7a8d4 |
children | d8a03e9b3776 |
files | mercurial/httprepo.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/httprepo.py Thu Mar 09 08:27:49 2006 +0100 +++ b/mercurial/httprepo.py Thu Mar 09 12:18:59 2006 -0800 @@ -67,6 +67,9 @@ 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}