relink: correct unusual indentation

This commit is contained in:
Martin Geisler 2011-04-06 15:26:49 +02:00
parent 1b0518593c
commit 3c1a708683

View File

@ -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))