##// END OF EJS Templates
changegroupsubset(): move comment at the right place
Benoit Boissinot -
r11660:5d62df44 default
parent child Browse files
Show More
@@ -1284,8 +1284,10 b' class localrepository(repo.repository):'
1284 # Set up some initial variables
1284 # Set up some initial variables
1285 # Make it easy to refer to self.changelog
1285 # Make it easy to refer to self.changelog
1286 cl = self.changelog
1286 cl = self.changelog
1287 # msng is short for missing - compute the list of changesets in this
1287 # Compute the list of changesets in this changegroup.
1288 # changegroup.
1288 # Some bases may turn out to be superfluous, and some heads may be
1289 # too. nodesbetween will return the minimal set of bases and heads
1290 # necessary to re-create the changegroup.
1289 if not bases:
1291 if not bases:
1290 bases = [nullid]
1292 bases = [nullid]
1291 msng_cl_lst, bases, heads = cl.nodesbetween(bases, heads)
1293 msng_cl_lst, bases, heads = cl.nodesbetween(bases, heads)
@@ -1302,9 +1304,6 b' class localrepository(repo.repository):'
1302 self.hook('preoutgoing', throw=True, source=source)
1304 self.hook('preoutgoing', throw=True, source=source)
1303
1305
1304 self.changegroupinfo(msng_cl_lst, source)
1306 self.changegroupinfo(msng_cl_lst, source)
1305 # Some bases may turn out to be superfluous, and some heads may be
1306 # too. nodesbetween will return the minimal set of bases and heads
1307 # necessary to re-create the changegroup.
1308
1307
1309 # Known heads are the list of heads that it is assumed the recipient
1308 # Known heads are the list of heads that it is assumed the recipient
1310 # of this changegroup will know about.
1309 # of this changegroup will know about.
General Comments 0
You need to be logged in to leave comments. Login now