diff mercurial/localrepo.py @ 18044:f3991bcf4f0f

push: reunite comment with the line of code it describes
author Kevin Bullock <kbullock@ringworld.org>
date Fri, 07 Dec 2012 12:03:37 -0600
parents 2a393df0f5cc
children b35e3364f94a
line wrap: on
line diff
--- a/mercurial/localrepo.py	Fri Dec 07 11:30:38 2012 -0600
+++ b/mercurial/localrepo.py	Fri Dec 07 12:03:37 2012 -0600
@@ -1885,8 +1885,8 @@
 
         if not remote.canpush():
             raise util.Abort(_("destination does not support push"))
+        unfi = self.unfiltered()
         # get local lock as we might write phase data
-        unfi = self.unfiltered()
         locallock = self.lock()
         try:
             self.checkpush(force, revs)