##// END OF EJS Templates
largefiles: reuse "findcommonoutgoing()" result at "hg push"...
largefiles: reuse "findcommonoutgoing()" result at "hg push" Before this patch, "hg push" invokes "findcommonoutgoing()" not only in "exchange.push()" but also in "lfilesrepo.push()", when largefiles is enabled. The latter is redundant. This patch registers own "prepushoutgoinghook" function into "prepushoutgoinghooks" of "localrepository" to reuse "findcommonoutgoing()" result. "prepushoutgoinghook" omits "changelog.nodesbetween()" invocation, because "findcommonoutgoing()" invocation in "exchange.push()" takes "onlyheads" argument and it considers "nodesbetween()".

File last commit:

r1360:7d439981 default
r21044:52a5eabf default
Show More
__init__.py
1 line | 14 B | text/x-python | PythonLexer
Matt Mackall
Re-add hgext/__init__.py
r1360 # placeholder