comparison 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
comparison
equal deleted inserted replaced
18043:20459152c7ac 18044:f3991bcf4f0f
1883 # unbundle assumes local user cannot lock remote repo (new ssh 1883 # unbundle assumes local user cannot lock remote repo (new ssh
1884 # servers, http servers). 1884 # servers, http servers).
1885 1885
1886 if not remote.canpush(): 1886 if not remote.canpush():
1887 raise util.Abort(_("destination does not support push")) 1887 raise util.Abort(_("destination does not support push"))
1888 unfi = self.unfiltered()
1888 # get local lock as we might write phase data 1889 # get local lock as we might write phase data
1889 unfi = self.unfiltered()
1890 locallock = self.lock() 1890 locallock = self.lock()
1891 try: 1891 try:
1892 self.checkpush(force, revs) 1892 self.checkpush(force, revs)
1893 lock = None 1893 lock = None
1894 unbundle = remote.capable('unbundle') 1894 unbundle = remote.capable('unbundle')