Emulating SVN's "externals" property
"Kevin P. Fleming" <[email protected]> Fri, 19 Nov 2004 09:35:08 -0700
| Newsgroups | gmane.comp.version-control.bitkeeper.user |
|---|---|
| Organization | Back To Basics Network Management |
| Message-ID | <[email protected]> |
I want to be able to use BK for some projects, but I could really use the SVN "externals" property functionality. For those that are not familiar with it, here's how it works: Let's say I have a repo called "master", and two more called "docs" and "examples". I keep these separate because different teams work on them, and security is easier to manage this way. However, whenever anyone clones "master", they should get a clone of "docs" into a docs subdirectory of master, and the same for "examples". This clone could be read-only or read-write in SVN; in BK it would always be read-write, but the URL used for the parent may not allow pushes for the user doing the edits (which is fine). In SVN, this would be done by: # cd master # svn propset svn:externals "docs svn://svn.foo.org/repos/docs examples svn://svn.foo.org/repos/examples" (or something like that, the syntax could be off a bit) This puts a property onto the root directory of the repo that tells SVN to do these additional checkouts (into the named subdirectories, which do not exist in the "master" repo) whenever the "master" repo is checked out. I figure something like this could be done with BK using a trigger that runs at clone time, in the new clone (not in the master). Is this possible? Can someone who has large amounts of BK-foo in their brain give me a hint? <G> _______________________________________________ Bitkeeper-users mailing list [email protected] http://bitmover.com/mailman/listinfo/bitkeeper-users To unsubscribe from this list, go to the above URL, follow instruction at the bottom of the web page.