Crash when network goes down during a checkout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
Fix Released
|
Low
|
Jelmer Vernooij |
Bug Description
The network connection to the svn server went down during a checkout, resulting in the operation timing out. It would be nice if bzr-svn would handle this cleanly by commiting the downloaded revisions, allowing the user to continue to update the checkout when the network is back up again.
The backtrace is as follows:
$ bzr checkout https:/
Initialising Subversion metadata cache in /home/rexbron/
bzr: ERROR: svn.core.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
accelerator
File "/usr/lib/
return self._create_
File "/usr/lib/
checkout_
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
run_
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
pb=nested_pb)
File "/usr/lib/
return inter.fetch(
File "/usr/lib/
self.
File "/usr/lib/
reporter.
File "/usr/lib/
raise convert_error(e)
SubversionExcep
bzr 1.5 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'checkout', 'https:/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_CA.UTF-8'
plugins:
bzrtools /usr/lib/
launchpad /usr/lib/
rebase /usr/lib/
svn /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
Related branches
Changed in bzr-svn: | |
status: | Fix Committed → Fix Released |
It would appear that the svn metadata cache means that bzr-svn will restart from where it left off, provided you remove the directory you were checking into.
Perhaps then all that need to be done is a pretty error message to the user and to clean up the .bzr dir.