Re:What's New in Mercurial 3.0
by russelldavis on Tuesday April 29, 2014 @07:11PM
(#7670545)
The branch equivalent is `git checkout foo --`. I wrote a simple shell script[1] that makes that the default, requiring you to do `-- <file>` for files, so there's never a possibility of ambiguity.
[1] https://gist.github.com/russelldavis/e5173ce1269fae67baaf