##// END OF EJS Templates
dirstate: call and cache os.getcwd() in constructor...
dirstate: call and cache os.getcwd() in constructor I'm about to make scmutil.matchfiles() not pass the root and cwd paths to match.exact(), since they no longer have any effect. That turned out to have the surprising effect of making some tests (test-rebase-scenario-global.t and test-removeemptydirs.t) crash when the working directory was removed. The problem was that my patch removed the call to repo.getcwd(), which caused the current working directory to not be cached in the dirstate as early as it was before. This patch fixes that by caching the current working directory in the dirstate constructor. Differential Revision: https://phab.mercurial-scm.org/D5928

File last commit:

r41072:ce0bc295 default
r41823:e178b131 default
Show More
TODO.rst
21 lines | 782 B | text/x-rst | RstLexer
Gregory Szorc
narrow: remove narrowrevlog...
r39807 Address commentary in manifest.excludedmanifestrevlog.add -
Augie Fackler
narrow: add a TODO document...
r36121 specifically we should improve the collaboration with core so that
add() never gets called on an excluded directory and we can improve
the stand-in to raise a ProgrammingError.
Reason more completely about rename-filtering logic in
narrowfilelog. There could be some surprises lurking there.
Martin von Zweigbergk
narrow: update TODO.rst now that we share format with sparse...
r40116 Formally document the narrowspec format. For bonus points, unify with the
server-specified narrowspec format.
Augie Fackler
narrow: add a TODO document...
r36121
narrowrepo.setnarrowpats() or narrowspec.save() need to make sure
they're holding the wlock.
Martin von Zweigbergk
narrow: move remaining narrow-limited dirstate walks to core...
r40123
The follinwg places do an unrestricted dirstate walk (including files outside the
narrowspec). Some of them should perhaps not do that.
* debugfileset
* perfwalk
* sparse (but restricted to sparse config)
* largefiles