largefiles: remove invalid comment (issue3065)
authorNa'Tosha Bard <natosha@unity3d.com>
Sat, 07 Jan 2012 23:37:19 +0100
changeset 15785 acb0a40fa14d
parent 15784 3fe39d6d2bd8
child 15788 07b6af9076b4
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.
hgext/largefiles/overrides.py
--- a/hgext/largefiles/overrides.py	Sat Jan 07 15:35:15 2012 +0100
+++ 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