[PATCH] largefiles: remove invalid comment (issue3065)

Na'Tosha Bard natosha at unity3d.com
Sun Jan 8 03:41:24 CST 2012


# HG changeset patch
# User Na'Tosha Bard <natosha at unity3d.com>
# Date 1325975839 -3600
# Node ID 47cf8d900869c2a5673a8e32a01531b70b9e395f
# Parent  f15c646bffc7187c357f3dcc12761513c1ed6609
largefiles: remove invalid comment (issue3065)

This comment is invalid.  The hg.update() function will abort in the case of
any genuine error, so there is nothing to check.  If we have gotten to this
point in execution, nothing critical has gone wrong, and if any standins
have been updated, we must pull new largefiles.

diff -r f15c646bffc7 -r 47cf8d900869 hgext/largefiles/overrides.py
--- a/hgext/largefiles/overrides.py	Thu Jan 05 07:26:22 2012 -0800
+++ b/hgext/largefiles/overrides.py	Sat Jan 07 23:37:19 2012 +0100
@@ -591,7 +591,6 @@
 
 def hg_update(orig, repo, node):
     result = orig(repo, node)
-    # XXX check if it worked first
     lfcommands.updatelfiles(repo.ui, repo)
     return result
 


More information about the Mercurial-devel mailing list