Mercurial > hg
diff tests/test-convert-svn-branches.t @ 25266:38117278f295 stable
revbranchcache: return uncached branchinfo for nullrev (issue4683)
This fixes the crash caused by "branch(null)" revset. No cache should be
necessary for nullrev because changelog.branchinfo(nullrev) does not involve
IO operation.
Note that the problem of "branch(wdir())" isn't addressed by this patch.
"wdir()" will raise TypeError in many places because of None. This is the
reason why "wdir()" is still experimental.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 23 May 2015 11:14:00 +0900 |
parents | 7a9cbb315d84 |
children | 584044e5ad57 |