Jump to content
Tirias

How to obtain al revisions from a file

Recommended Posts

Hi!

 

There is some way to obtain all revisions from a specific file using the command line?

 

For example:

 

 

in: cm <rev> <myFile.txt>

out:

r1 02/03/2013

"bla bla bla"

 

r2 04/03/2014

"bla bla bla

 ble ble ble"

 

r3 05/03/2014

"bla ble bla

 bli blo blu"

 

Thanks in advance!

 

 

    

 

 

Share this post


Link to post
Share on other sites

You can use the "hist" or "find revs" commands to get all teh revisions, then use the "cm cat" to get their content.

cm hist readme.txt
or
cm find revs where item='readme.txt'
then
cm cat readme.txt#cs:66

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×