[rfc] branch/merge/push/pull operations with remote location (sftp/ftp) that require password and GUI
Aaron Bentley
aaron.bentley at utoronto.ca
Sat Oct 28 17:52:07 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alexander Belchenko wrote:
> I think that simple solution could be to raise some custom exception
> when user clicks CANCEL (IIUC, this exception should be raised from
> within method that invoked by bzrlib to update progress bar). And in
> main GUI code that invoke long bzrlib operation just catch this error.
>
> I'm slightly worrying about state of bzrlib after this termination. Is
> it safe way or I need to use something different?
I think it's a very similar situation to KeyboardInterrupt, which we
handle just fine.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFQ4q30F+nu1YWqI0RApMcAJ9ZKlkO/1UTQJ7csXJcT9fbSJzKDACfYGT/
DFD7u/TcZQu9PCrlezkL3pM=
=pI96
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list