Mercurial > hg
changeset 6409:47f4a47161b4
merge with crew
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sun, 30 Mar 2008 20:31:35 +0200 |
parents | 3f5f23ba18bc (current diff) 1a726377c312 (diff) |
children | 644a56c7ae79 |
files | |
diffstat | 3 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Mar 30 20:21:57 2008 +0200 +++ b/mercurial/commands.py Sun Mar 30 20:31:35 2008 +0200 @@ -6,7 +6,7 @@ # of the GNU General Public License, incorporated herein by reference. from node import hex, nullid, nullrev, short -from repo import RepoError +from repo import RepoError, NoCapability from i18n import _ import os, re, sys, urllib import hg, util, revlog, bundlerepo, extensions, copies @@ -2045,7 +2045,7 @@ if revs: try: revs = [other.lookup(rev) for rev in revs] - except repo.NoCapability: + except NoCapability: error = _("Other repository doesn't support revision lookup, " "so a rev cannot be specified.") raise util.Abort(error)