create repository
su cd /home/sradio mkdir bzr cd bzr bzr init-repo --trees mkdir SRadio_Main cd SRadio_Main/ bzr init . cvs -d /home/sradio/cvs co -r Branch_Linus SRadio find $1 \( -name CVS \) -exec rmdir {} \; find $1 \( -name CVS \) -exec rm -rf {} \; mv SRadio/* . rmdir SRadio/ bzr add bzr commit -m "from CVS" rm Documentation/Reports/NCCR/04/report_nccr_04.tex~ Documentation/Reports/NCCR/04/report_nccr_04~ cd Documentation/Reports/NCCR/04 bzr remove ics-rf.fig.bak report_nccr_04.aux report_nccr_04.backup report_nccr_04.log report_nccr_04.tex.backup report_nccr_04.waux bzr commit -m "remove unneeded" rm ics-rf.fig.bak report_nccr_04.aux report_nccr_04.backup report_nccr_04.log report_nccr_04.tex.backup report_nccr_04.waux cd ../../../.. rm ./Documentation/Articles/LJ/overview.fig.bak ./Documentation/Articles/LJ/rf_if_bb.fig.bak ./Documentation/Articles/LJ/sr_architecture.fig.bak bzr commit -m "remove unneeded" chmod 777 ..
Create user branche
su sbrunner cd ~ bzr whoami 'Stephane Brunner <[email protected]>' bzr branch /home/sradio/bzr/SRadio_Main/ SRadio.Stephane
Test 2
su sradio cd ~ bzr branch /home/sradio/bzr/SRadio_Main/ SRadio.Stephane
Create mobile branche
cd ~ bzr whoami 'Stephane Brunner <[email protected]>' bzr branch sftp://[email protected]/home/sbrunner/SRadio.Stephane SRadio.Stephane
Test 2
cd ~ bzr branch sftp://[email protected]/home/sradio/SRadio.Stephane SRadio.Stephane2 cd SRadio.Stephane2 echo 'test' > test bzr add bzr commit -m test bzr push sftp://[email protected]/home/sradio/SRadio.Stephane
From radio3 on root
cd /home/sradio/SRadio.Stephane bzr update bzr push /home/sradio/bzr/SRadio_Main/