Jump to content

last commit details of file on /main branch


hampsterx

Recommended Posts

Hi Pablo,

Actually I am trying to script it so that our bug tracker knows who last worked on a file when a website error gets tripped up by simply looking at the stack trace and being able to associate the most recent change on that file to the developer.

cm find revs works pefect thanks. BTW using history command can you restrict to to a branch? I only want history from /main branch.

Cheers, and long live plastic!!

TiM

Link to comment
Share on other sites

BTW using history command can you restrict to to a branch? I only want history from /main branch.

I'm afraid that it's not possible, on the other hand you can apply some --format tricks to help you with the parser.

For example, this is going to retrieve only the branch info of the history:

cm hist File.txt --format={2}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...