Mercurial > hg
diff mercurial/revset.py @ 11886:73112cb2a6d7
Merge with stable
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 15 Aug 2010 18:13:46 +0200 |
parents | ba65d61f3158 b75dea24e296 |
children | df52ff0980fe |
line wrap: on
line diff
--- a/mercurial/revset.py Sun Aug 15 17:42:44 2010 +0200 +++ b/mercurial/revset.py Sun Aug 15 18:13:46 2010 +0200 @@ -437,7 +437,7 @@ def outgoing(repo, subset, x): import hg # avoid start-up nasties l = getargs(x, 0, 1, _("outgoing wants a repository path")) - dest = l[1:] or '' + dest = l and getstring(l[0], _("outgoing wants a repository path")) or '' dest = repo.ui.expandpath(dest or 'default-push', dest or 'default') dest, branches = hg.parseurl(dest) other = hg.repository(hg.remoteui(repo, {}), dest)