version control - Get latest transaction ID for AccuRev stream -


i want find out id of latest transaction changed stream. figured use accurev hist -s nameofstream -t -fx, not sure if show changes upstream.

let's assume have following tree in accurev:

  • mydepot
    • streama
      • streama1
      • streama2
    • streamb

in case promote change streamb mydepot, affects streama , children, want see transaction when calling accurev hist -s streama1 -t -fx. happen or need different command?

update: checked , hist command shows transactions occured in specific stream mentioned , not upstream changes. how can detect change in stream single command, without having local workspace?

you can't accurev alone wrote python script can. part of accurev git conversion tool can find here:

https://github.com/navicoos/ac2git

if clone repository need accurev.py script , deep-hist sub-command. use ./accurev.py -h , ./accurev.py deep-hist -h see usage.

example use:

./accurev.py deep-hist -p mydepot -s mystream -t 20-highest 

this recursively run accurev hist command on stream , parents , print out result. shows transactions have potential change stream. not of these transactions listed have changed stream, can use accurev diff -v mystream -v mystream -t 19-20 see if stream has changed @ transaction 20 , applying list of returned transactions should give transactions have changed in stream.


Comments

Popular posts from this blog

gridview - Yii2 DataPorivider $totalSum for a column -

java - Suppress Jboss version details from HTTP error response -

Sass watch command compiles .scss files before full sftp upload -