repository from --no-trees to having trees
John Arbash Meinel
john at arbash-meinel.com
Thu May 29 22:11:24 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Prince wrote:
| I started up a centralized repository on a computer using push command
| with something like this:
|
| bzr push sftp://centralhost/srv/bzr/X-repo/X-trunk
|
| The repository has no trees (no files showing) and so it is effectively
| the same as if I had made it with something like:
|
| bzr init-repo --no-trees sftp://centralhost/srv/bzr/X-repo/
|
| [At least as far as I understand]
|
| I actually would like the centralized repository to contain the files
| themselves (easily accessible) so that I can scp them off. How do I get
| my centralized repository to have those files (i.e., trees)?
|
| Thanks a bunch!
You can do:
~ ssh centralhost
~ cd /srv/bzr/X-repo
~ bzr co .
To create a working tree there.
By default, bzr will not update this working tree (issues with potential
conflicts on a filesystem that we don't have direct access to.)
However, you can install the push-and-update plugin (bzr branch
lp:bzr-push-and-update ~/.bazaar/plugins/push_and_update). If it notices that a
target branch has a working tree, it will do the 'ssh centralhost; bzr update
/srv/bzr/X-repo' for you.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkg/G/sACgkQJdeBCYSNAANgVwCeJdh6PfVbwbWgDn3kvFyF68VH
Tf0AoMsfBogynoClVLIsg6tA+pwZRwy+
=ssfF
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list