mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
relink: correct unusual indentation
This commit is contained in:
parent
1b0518593c
commit
3c1a708683
@ -38,9 +38,9 @@ def relink(ui, repo, origin=None, **opts):
|
||||
"""
|
||||
if not hasattr(util, 'samefile') or not hasattr(util, 'samedevice'):
|
||||
raise util.Abort(_('hardlinks are not supported on this system'))
|
||||
src = hg.repository(
|
||||
hg.remoteui(repo, opts),
|
||||
ui.expandpath(origin or 'default-relink', origin or 'default'))
|
||||
src = hg.repository(hg.remoteui(repo, opts),
|
||||
ui.expandpath(origin or 'default-relink',
|
||||
origin or 'default'))
|
||||
if not src.local():
|
||||
raise util.Abort(_('must specify local origin repository'))
|
||||
ui.status(_('relinking %s to %s\n') % (src.store.path, repo.store.path))
|
||||
|
Loading…
Reference in New Issue
Block a user