Show More
@@ -6,7 +6,7 b'' | |||
|
6 | 6 | # of the GNU General Public License, incorporated herein by reference. |
|
7 | 7 | |
|
8 | 8 | from node import hex, nullid, nullrev, short |
|
9 | from repo import RepoError | |
|
9 | from repo import RepoError, NoCapability | |
|
10 | 10 | from i18n import _ |
|
11 | 11 | import os, re, sys, urllib |
|
12 | 12 | import hg, util, revlog, bundlerepo, extensions, copies |
@@ -2045,7 +2045,7 b' def pull(ui, repo, source="default", **o' | |||
|
2045 | 2045 | if revs: |
|
2046 | 2046 | try: |
|
2047 | 2047 | revs = [other.lookup(rev) for rev in revs] |
|
2048 |
except |
|
|
2048 | except NoCapability: | |
|
2049 | 2049 | error = _("Other repository doesn't support revision lookup, " |
|
2050 | 2050 | "so a rev cannot be specified.") |
|
2051 | 2051 | raise util.Abort(error) |
General Comments 0
You need to be logged in to leave comments.
Login now