piping filenames to `thg log` with `--listfile -` does not work
How to replicate:
- update the TortoiseHg stable branch to
- cd to the repository root
echo INSTALL.txt | ./thg log --listfile -
- This should open the "Hg file log viewer" view of thg, but instead, it opens the full repo/workbench view
- Now disable forking with the 'nofork' option, and it works as expected
nofork with a brutal hack to
portable_fork as follows, but I'm sure there's a proper way:
def portable_fork(ui, opts): opts["nofork"] = True #hack!!! #(rest of function untouched)
This issue with
--listfile - has a direct impact on the nautilus integration which uses
log --listfile - for the "File History" context menu.
ie: "File History" nautilus integration does not work due to this issue.
I do not know what the impact is of disabling the fork (nor what the reason for the fork is to begin with).