Show More
@@ -49,12 +49,13 b' def islocal(repo):' | |||
|
49 | 49 | return repo.local() |
|
50 | 50 | |
|
51 | 51 | def repository(ui, path=None, create=False): |
|
52 | """return a repository object for the specified path""" | |
|
52 | 53 | return _lookup(path).instance(ui, path, create) |
|
53 | 54 | |
|
54 | 55 | def defaultdest(source): |
|
55 | 56 | '''return default destination of clone if none is given''' |
|
56 | 57 | return os.path.basename(os.path.normpath(source)) |
|
57 | ||
|
58 | ||
|
58 | 59 | def clone(ui, source, dest=None, pull=False, rev=None, update=True, |
|
59 | 60 | stream=False): |
|
60 | 61 | """Make a copy of an existing repository. |
General Comments 0
You need to be logged in to leave comments.
Login now