##// END OF EJS Templates
mq: allow qclone's -p option to use path alias...
John Mulligan -
r7729:dd08e1e0 default
parent child Browse files
Show More
@@ -1737,7 +1737,10 def clone(ui, source, dest=None, **opts)
1737 if dest is None:
1737 if dest is None:
1738 dest = hg.defaultdest(source)
1738 dest = hg.defaultdest(source)
1739 sr = hg.repository(ui, ui.expandpath(source))
1739 sr = hg.repository(ui, ui.expandpath(source))
1740 patchespath = opts['patches'] or patchdir(sr)
1740 if opts['patches']:
1741 patchespath = ui.expandpath(opts['patches'])
1742 else:
1743 patchespath = patchdir(sr)
1741 try:
1744 try:
1742 pr = hg.repository(ui, patchespath)
1745 pr = hg.repository(ui, patchespath)
1743 except error.RepoError:
1746 except error.RepoError:
General Comments 0
You need to be logged in to leave comments. Login now