mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
codingstyle: use spaces instead of tabs
This commit is contained in:
parent
a283a1d83d
commit
8ef31fb9ac
@ -157,9 +157,9 @@ def clone(ui, source, dest=None, pull=False, rev=None, update=True,
|
||||
# we lock here to avoid premature writing to the target
|
||||
dest_lock = lock.lock(os.path.join(dest_path, ".hg", "lock"))
|
||||
|
||||
# we need to remove the (empty) data dir in dest so copyfiles
|
||||
# can do its work
|
||||
os.rmdir(os.path.join(dest_path, ".hg", "data"))
|
||||
# we need to remove the (empty) data dir in dest so copyfiles
|
||||
# can do its work
|
||||
os.rmdir(os.path.join(dest_path, ".hg", "data"))
|
||||
files = "data 00manifest.d 00manifest.i 00changelog.d 00changelog.i"
|
||||
for f in files.split():
|
||||
src = os.path.join(source, ".hg", f)
|
||||
@ -170,8 +170,8 @@ def clone(ui, source, dest=None, pull=False, rev=None, update=True,
|
||||
if inst.errno != errno.ENOENT:
|
||||
raise
|
||||
|
||||
# we need to re-init the repo after manually copying the data
|
||||
# into it
|
||||
# we need to re-init the repo after manually copying the data
|
||||
# into it
|
||||
dest_repo = repository(ui, dest)
|
||||
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user