Table of Contents

usage

URL=bzr+ssh://rzr@bazaar.launchpad.net/~ubuntu-dev/firefox-extensions/flashblock.ubuntu/
bzr branch $URL

https://wiki.ubuntu.com/MozillaTeam/Extensions/Packaging

cvs

How to sync a bzr branch from a CVS vc ? using git ?

cvs co

TODO: Use: “cvs up” instead – 20090605

package=flashblock
DATE=20090627
export CVSROOT=':pserver:guest@mozdev.org:/cvs'
BZRROOT='lp:~rzr/firefox-extensions'
sudo aptitude install ${package} cvs bzr diffstat
{ ssh-add -L || ssh-add ; } 
bzr branch ${BZRROOT}/${package}.upstream
cvs login && cvs co -D "${DATE}" ${package} # passwd="guest" 
diff -BurN  --exclude "CVS" --exclude ".bzr" \
 ${package}.upstream ${package}/source/  > tmp-${package}.diff
diffstat  tmp-${package}.diff 
cd ${package}.upstream && patch  -p1 < ../tmp-${package}.diff 
bzr add * && bzr status # TODO
bzr commit -m "  * Sync from upstream : cvs://${CVSROOT}#${DATE}"
bzr launchpad-login $USER && bzr push ${BZRROOT}/${package}.upstream

cvs up

DATE=20090627
{ ssh-add -L || ssh-add ; } 
bzr branch lp:~rzr/firefox-extensions/flashblock.upstream
cvs up -A -D "${DATE}" && \
find . -type f | grep -vi "CVS" | grep -vi ".bzr" | while read t; do bzr add "$t" ; done # TODO rm 
bzr status && bzr diff | less
bzr commit -m "  * Sync from upstream : cvs://${CVSROOT}#${DATE}"

flashblock

# cvs co
# bzr branch
mv ../source/* ./
# cvs up

MORE

bzr.txt · Last modified: 2020/09/08 20:41 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki