merge: move merge step to the end
Resolving other conflicts before merge ones is better because the state before
the merge is as consistent as possible. It will also help with future work
involving automatic resolution of merge conflicts with an external merge
driver.
There are no ordering issues here because it is easy to verify that the same
file is never in both the dg/dm and the m sets.
lock: factor out lock testing into a separate function
This is going to be needed for upcoming work with lock inheritance.
lock: factor code to read lock into a separate function
This is going to be needed for upcoming work with lock inheritance.
tests: add unit tests for locking code
We're going to make significant changes to lock behavior soon.
gitweb: port code selection without line numbers from paper
This is adapted from
f2e4fdb3dd27 and
e92d4b8530cb.
It also fixes
issue4790 in gitweb; tab characters now have meaningful width on
the modified pages (file view, file diff, changeset).
obsolete: remove unused _knownrevs function
The call site was removed at
cd62532c62a1.