changeset 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 20459152c7ac
children add2f9ddcfb5
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)