rename push to publish
Robert Collins
robertc at robertcollins.net
Wed Feb 8 22:15:44 GMT 2006
This came out of a conversation with aaron:
Some people want 'push B' to be equivalent to 'cd B; pull $LASTCWD'.
Others dont.
I define them as pull is 'update to be like that other branch but keep
my preferences etc' and push is 'publish my branch precisely for others
to use'
(right now there are bugs that make push not be precisely that, but its
not the inverse of pull).
If we add '-d LOCATION' which arch had and was very useful (could choose
a different letter, -d was for 'directory'), one could do
'bzr -d sftp://foo/bar/gam pull $(pwd)' to mean 'cd to
sftp://foo/bar/gam and pull from $(pwd)' - even though one cannot
physically cd there, we can do so in a logical sense within bzrlib.
So aaron suggested renaming push to publish and using that -d for anyone
that wanted the inverse of pull behaviour (such as setting the remote
'parent' to $pwd, which IMO is nuts for a copy of my branch on a
webserver.
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060209/d319ca77/attachment.pgp
More information about the bazaar
mailing list