Quote:
Originally Posted by Starson17
The batch file has this in it:
Code:
c:
cd \my_source_dir\src
bzr commit -m "Starson17 Updated src"
bzr merge
|
@Starson17: you might want to add a
bzr commit -m "Merge from trunk"
or something like that after the merge. The second commit will ensure that all the changes you just downloaded are registered in the repository. It will be much easier for you to see what you changed ('bzr status' and 'bzr log'), and should it become necessary, to back out those changes ('bzr revert').
@jesscat: if you use but never change the source, you can change starson17's script to be even faster. Try:
Code:
c:
cd \my_source_dir\src
bzr pull
The pull command copies the changes from the original repository (in our case the repository on launchpad). Because it works only if you haven't made changes, it doesn't need to take the time to work out what is new, what changed, etc. If you *have* made changes, it will complain and do nothing.
Final note: you know that you are running from source if there is an asterisk next to the version number on the upper right corner. No asterisk -- something isn't set up right.