--- a/hgext/largefiles/lfcommands.py Fri Mar 09 15:26:13 2012 +0100
+++ b/hgext/largefiles/lfcommands.py Fri Mar 09 16:11:52 2012 +0100
@@ -58,7 +58,7 @@
# Lock destination to prevent modification while it is converted to.
# Don't need to lock src because we are just reading from its history
# which can't change.
- dst_lock = rdst.lock()
+ dstlock = rdst.lock()
# Get a list of all changesets in the source. The easy way to do this
# is to simply walk the changelog, using changelog.nodesbewteen().
@@ -113,7 +113,7 @@
if not success:
# we failed, remove the new directory
shutil.rmtree(rdst.root)
- dst_lock.release()
+ dstlock.release()
def _addchangeset(ui, rsrc, rdst, ctx, revmap):
# Convert src parents to dst parents
@@ -451,7 +451,7 @@
expecthash != lfutil.hashfile(abslfile))):
if not lfutil.copyfromcache(repo, expecthash, lfile):
# use normallookup() to allocate entry in largefiles dirstate,
- # because lack of it misleads lfiles_repo.status() into
+ # because lack of it misleads lfilesrepo.status() into
# recognition that such cache missing files are REMOVED.
lfdirstate.normallookup(lfile)
return None # don't try to set the mode