The sound distributed version control system

#406 [Feature Request] Something like "darcs show content" to view the state of a file in a given "revision"

Opened by Jonathan on April 5, 2021 Feature request
Jonathan on April 5, 2021

I don’t know how hard is to implement this, but it would be nice to have a command which shows the state of a file in a given “revision”, something like the darcs show content -h [hash] command does.

This will help IDE plugins to get a step closer to what we already have for Mercurial and Subversion.

pmeunier on April 5, 2021

This would be very cool indeed! It will also soon be feasible thanks to tags. Tags are already implemented, but I’ve stopped working on Pijul temporarily until I get a fully resilient nest.pijul.com (the previous one burned in the OVH fire in Strasbourg).

Alphare on April 7, 2021

FWIW, it’s called hg cat in Mercurial. I’d prefer calling it a pijul cat, but that’s not too terribly important, as long as it’s a simple (one word) command.

hu on April 9, 2021

cat is short for concatenate IIRC. That is a poor name for what that command actually does IMHO.

Alphare on April 9, 2021

hg cat file1 file2 concatenates the two files into the standard output, so I think it’s rather fitting (since it behaves like cat does), but the name I’m not too hung up on. :)

pmeunier added tag Feature request on April 23, 2021