User manual patch

John Arbash Meinel john at arbash-meinel.com
Fri Jul 10 20:58:06 BST 2009


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

Alexandre Jasmin wrote:
>>> === modified file 'doc/en/user-guide/publishing_a_branch.txt' ---
>>> doc/en/user-guide/publishing_a_branch.txt	2009-02-26 11:28:50 +0000 +++
>>> doc/en/user-guide/publishing_a_branch.txt	2009-07-09 04:50:16 +0000 @@
>>> -54,8 +54,6 @@
>>>    cp -ar ~/PROJECT .     (copy files in using OS-specific tools) bzr
>>>    add                (populate repository; start version control) bzr
>>>    commit -m "Initial import"
>>> -                         (publish to central repository) -  bzr push
>>> sftp://centralhost/srv/bzr/project/trunk
>>>  
>>>  Note that committing inside a working tree created using the
>>>  ``checkout`` command implicitly commits the content to
>> This is meant to be an example, I'm not sure why you are removing it.
>>
> 
> I should explain the context for that one.
> The manual gives two ways of preparing a remote branch.
> 
> The fist way is to prepare the branch locally before pushing it to the server.
> 	bzr init-repo PROJECT  (prepare local repository)
> 	bzr init PROJECT/trunk
> 	cd PROJECT/trunk
> 	                       (copy development files)
> 	cp -ar ~/PROJECT .     (copy files in using OS-specific tools)
> 	bzr add                (populate repository; start version control)
> 	bzr commit -m "Initial import"
> 	                       (publish to central repository)
> 	bzr push sftp://centralhost/srv/bzr/PROJECT/trunk
> 
> The second way is to init the branch remotly, checkout the branch, add files and commit
> 	bzr init-repo PROJECT  (prepare local repository)
> 	cd PROJECT
> 	bzr init sftp://centralhost/srv/bzr/PROJECT/trunk
> 	bzr checkout sftp://centralhost/srv/bzr/PROJECT/trunk
> 	cd trunk
> 	cp -ar ~/PROJECT .     (copy files in using OS-specific tools)
> 	bzr add                (populate repository; start version control)
> 	bzr commit -m "Initial import"
> 	                       (publish to central repository)
> 	bzr push sftp://centralhost/srv/bzr/project/trunk
> 
> 
> AFAICT commiting checkout doesn't require an additionnal push

K, seems good to me.

Care to submit it as an attachment with [MERGE] in the subject so that
Bundle Buggy will track it?

Thanks,
John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpXnU4ACgkQJdeBCYSNAAMf2gCdGoAM3hl78Oke9qitli3K3V7n
wlsAoKzRfBZkPyq7/cQPwScn/uOFEExG
=OnXz
-----END PGP SIGNATURE-----



More information about the bazaar mailing list