Mercurial > hg
comparison .hgignore @ 24450:961790c35b4f
revert: take fast path also when not reverting to '.'
This speeds up 'hg revert -r .^ --all --dry-run' on the Mozilla repo
from 4.081s to 0.826s. Note that 'hg revert -r .^ .' does not get any
faster, since '.' does not make match.always() True.
I can't think of a reason it would break anything, and if it does,
it's clearly not covered by tests.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 24 Mar 2015 15:47:57 -0700 |
parents | 3232f92360d4 |
children | a1eff44c432b |
comparison
equal
deleted
inserted
replaced
24449:bab983bb6fd1 | 24450:961790c35b4f |
---|