Show More
@@ -277,9 +277,9 b' def clone(ui, source, dest=None, pull=Fa' | |||||
277 | revs = None |
|
277 | revs = None | |
278 | if rev: |
|
278 | if rev: | |
279 | if 'lookup' not in src_repo.capabilities: |
|
279 | if 'lookup' not in src_repo.capabilities: | |
280 |
raise util.Abort(_("src repository does not support |
|
280 | raise util.Abort(_("src repository does not support " | |
281 |
"lookup and so doesn't |
|
281 | "revision lookup and so doesn't " | |
282 | "revision")) |
|
282 | "support clone by revision")) | |
283 | revs = [src_repo.lookup(r) for r in rev] |
|
283 | revs = [src_repo.lookup(r) for r in rev] | |
284 | checkout = revs[0] |
|
284 | checkout = revs[0] | |
285 | if dest_repo.local(): |
|
285 | if dest_repo.local(): |
General Comments 0
You need to be logged in to leave comments.
Login now