push: reunite comment with the line of code it describes
authorKevin Bullock <kbullock@ringworld.org>
Fri, 07 Dec 2012 12:03:37 -0600
changeset 18044 f3991bcf4f0f
parent 18043 20459152c7ac
child 18045 add2f9ddcfb5
push: reunite comment with the line of code it describes
mercurial/localrepo.py
--- 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)