Couple of general version control questions...
russel.winder at concertant.com
Tue Jun 2 14:33:26 BST 2009
On Tue, 2009-06-02 at 14:07 +0100, Richard B. wrote:
> I'm happy with using Bazaar now, but have a general version control
> question. I develop in Visual C++ and only commit the source files,
> Solution/Project files and any other files which cannot be reproduced.
> When I commit a fix/improvement, I don't want to include the .exe,
> .dll and .pdb files, but I do when I make a public release (ie. so I can
> debug any bug reports from customers). I could add .exe, .dll and .pdb
> to the exclusion list, but then these files would not be versioned
> when I make a public release.
> What's the best way of doing this with bazaar ?
> Or, would it be best practice to always version these files ?
I have no idea what the official party line is, but my view is:
Never version any generated materials in the mainline or the feature
branches. Likewise never version other people's material in the
mainline or the feature branches.
When it comes to a release, then when the mainline is tagged, take a
complete copy and add into it a copy of all the generated materials, and
any dependencies you want to track. Best to label this with the tag.
Save and generally backup :-)
> I've also read that it's good practice to version compiler, lib, and
> include files, but these are stored on a different drive to my
> project/source files, so how can I commit these files with my project
> files ?
Are these part of the project or do you mean other people's stuff?
Dr Russel Winder Partner
xmpp: russel at russel.org.uk
Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road, f: +44 8700 516 084 voip: sip:russel.winder at ekiga.net
London SW11 1EN, UK m: +44 7770 465 077 skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090602/d769e857/attachment.pgp
More information about the bazaar