Automate push after commit?

Nicholas Allen nick.allen at onlinehome.de
Tue Mar 10 11:53:47 GMT 2009


Hi,

I think it would be useful if there was a way to automate a push after a 
commit (if a push location has been specified for a branch). I know a similar 
thing can be achieved with a bound branch but when the bound location is 
remote a commit can take 10-20 seconds and this is seriously annoying. If I 
commit locally the commit is a fast operation but I don't get the benefit of a 
remote backup and notifying my peers of my changes. I can always push manually 
but it would be nice if there was an automated way to do this.

The advantage of commit and then pushing is that the commit completes faster 
and I can continue working on the working copy while the push is in progress. 
At least it is my understanding that I should not modify working copy files 
while committing so committing and pushing avoids this problem.

Another option would be for Bazaar to make a quick copy of the files that have 
to be committed prior to a commit and use these files for committing instead of 
the ones in the working tree so the user can modify them while a commit is in 
progress.

Thoughts?

Cheers,

Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090310/064621c8/attachment.pgp 


More information about the bazaar mailing list