##// END OF EJS Templates
localrepo: check HG_PENDING strictly...
localrepo: check HG_PENDING strictly Before this patch, checking HG_PENDING for changelog in localrepo.py might cause unintentional reading unrelated '00changelog.i.a' in, because HG_PENDING is checked by str.startswith(). An external hook spawned by inner repository in nested ones satisfies this condition. This patch uses txnutil.mayhavepending() to check HG_PENDING strictly. BTW, this patch may cause failure of bisect in the repository of Mercurial itself, if examination at bisecting assumes that an external hook can see all pending changes while nested transactions across repositories. This invisibility issue will be fixed by subsequent patch, which allows HG_PENDING to refer multiple repositories.

File last commit:

r9999:f91e5630 default
r31054:59e69ed8 default
Show More
coal-folder.png
0 lines | 284 B | image/png | TextLexer
/ mercurial / templates / static / coal-folder.png
rendered-image