hgweb: use patch.diff() to make sensible diffs (
issue1223,
issue1258)
This gets us git diffs when enabled and doesn't pick erratic file parents.
patch: turn patch.diff() into a generator
This should even be a little faster than passing in an fp argument.
help: commands supporting --git point to the gitdiffs topic (
issue1352)
hgweb: descend empty directories in web view
When a manifest has a series of directories with nothing in them but a single
directory, displaying the entire chain of empty directories allows for
navigation down to the first non-empty directory with a single click.
Because Java links package hierarchy to directory hierarchy, and because Java
conventions include at least three empty directories at the top of this
hierarchy, descending down empty directories is very common in Java web tools.
inotify: server raising an error when removing a file (
issue1371)
When a file is deleted via hg rm <file> the dirstate marks the file with a
status of 'r'. The physical file has been deleted, but the inotify server
tries to do a stat on the file after it's been removed.
Patch catches the exception and correctly call updatestatus()