migration - how to migrate git repo to AccuRev -
i need migrate git repo accurev , never used accurev before no idea how it. searched in accurev , didn't find documents such. see posts on migrating other svn git not git accurev. please let me know there documentation available this. thanks.
there 2 approaches. 1 continue use git , tie gitcentric accurev product.
the other approach pull out of git oldest content want , import accurev. repeat next oldest content until have need. details below.
- make workspace off of stream importing to
- first baseline
- extract baseline1 git , copy workspace
- accurev add -x
- accurev promote -d
- make baseline1 snapshot
- all subsequent baselines
- delete contents of workspace
- extract baseline2 git , copy workspace
- accurev add -x (adds new files added between baseline1 , baseline2)
- accurev stat -m -o -fl > /tmp/modified.txt (this find modified files , ones older timestamps well)
- accurev keep -c "" -l /tmp/modified.txt
- accurev stat -m -fl > /tmp/missing.txt (this find missing files...removed between baselines)
- accurev defunct -l /tmp/missing.txt
- accurev promote –d
- accurev update
- make baseline2 snapshot
- rinse-lather-repeat subsequent baselines
dave
Comments
Post a Comment