tests/missing-comment.hg
author |
Yuya Nishihara <yuya@tcha.org> |
|
Mon, 16 Mar 2015 16:17:06 +0900 |
changeset 25765 |
5e1b0739611c |
parent 17064 |
168cc52ad7c2
|
permissions |
-rw-r--r-- |
revset: use integer representation of wdir() in revset
This is the simplest way to handle wdir() revision in revset. None didn't
work well because revset heavily depends on integer operations such as min(),
max(), sorted(), x:y, etc.
One downside is that we cannot do "wctx.rev() in set" because wctx.rev() is
still None. We could wrap the result set by wdirproxyset that translates None
to wdirrev, but it seems overengineered at this point.
result = getset(repo, subset, tree)
if 'wdir' in funcsused(tree):
result = wdirproxyset(result)
Test cases need the '(all() + wdir()) &' hack because we have yet to fix the
bootstrapping issue of null and wdir.
17064
|
1 |
(binary:application/octet-stream) |