I want to print the contents of a single file from a remote repository, at a specified revision. How can I do that? In svn, it'd be:
svn cat <path to remote file>
The main thing I want to avoid is cloning the entire repository; some of the ones I'm working with are quite large, and I just need project metadata from a single file within.
There's two ways to do what you want:
hg cat -r REV FILE
against itIf you don't have the web interface, then you need to clone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With