[DUG] Source Control - Sharing files between projects

Berend de Boer berend at pobox.com
Wed Sep 26 13:29:53 NZST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "David" == David Brennan <dugdavid at dbsolutions.co.nz> writes:

    David> I am still not getting you. These are files that cannot be
    David> edited independently of a core project (unlike say vcl
    David> library files). And you can legitimately want to edit them
    David> from the context of each of the 8 projects.

    David> For an example I think you are proposing:

Exactly, you branch the /Reference/Core1 to /Project1/Core1

    David> But my interpretation of your model is that you are relying
    David> on editing each of the core files within the Reference
    David> branches and then merging through to the Project
    David> branches.

No, the reverse. You edit /Project1/Core1 and merge the changes back
to /Reference/Core1 when stable/convenient.

Perforce handles such merge back really well, unlike more primitive
tools.

    David> Furthermore it is while editing one of the projects that
    David> you would want to change one of the core files. 

And you do it exactly there.

    David> And if developers are editing the core files a various
    David> project branches then how do you get each of these changes
    David> reliably merged into the other 7 projects?

You merge the /Project1/Core1 into /Reference/Core1. Project2
developers can merge newer versions of /Reference/Core1 into
/Project2/Core1 when convenient.


    David> Unless there is some easy way of automating or at least
    David> semi-automating this in Perforce?

Perforce won't bother you with merges you already did.

- -- 
All the best,

Berend de Boer


PS: This email has been digitally signed if you wonder what the strange
characters are that your email client displays.
PGP public key: http://www.pobox.com/~berend/berend-public-key.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFG+bYRIyuuaiRyjTYRAgooAJ46C4Jzl4f6qpjAhDi27SW1zzM+awCeOGb+
V5f3P73f7yMWvfhTRN7oz9o=
=ijw6
-----END PGP SIGNATURE-----



More information about the Delphi mailing list