How to place a file in a subdirectory of an ignored directory under revision control?
Ben DJ
bendj095124367913213465 at gmail.com
Sun Mar 28 02:04:28 BST 2010
Hi,
I've setup two repos
mkdir -p /repos/{core,site}
bzr init /repos/core
bzr init /repos/site
I want to include the bzr-managed data in /repos/core as a
*subdirectory* of /repos/site.
To do that, I exec'd:
cd /repos/site
cat << EOF > .bzignore
core
EOF
bzr branch /repos/core core
cat << EOF > core/.bzignore
data
EOF
Now, if I add files to core/data, e.g.,
cd core/data
touch test.txt
and then,
cd /repos/site
bzr add
bzr commit -m ""
will "test.txt" be under revision control, under the "/repos/site" repo home?
Thanks,
BenDJ
More information about the bazaar
mailing list