Error message unclear when using bzr+ssh protocol (InvalidURL error )
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Breezy |
Fix Released
|
Medium
|
Unassigned | ||
bzr Upload plugin |
Confirmed
|
Low
|
Unassigned |
Bug Description
chrispitzer: i'm having problems with bzr upload. when I try to upload a repo, i get bzr: ERROR: Invalid url supplied to transport: "README.txt"
chrispitzer: what's up - is this a permissions issue or something...?
lifeless: what url are you giving bzr upload to push to?
chrispitzer: bzr upload bzr+ssh:
chrispitzer: it should be using the user 'chris' just like when i ssh in.
poolie: this sounds familiar
poolie: is there a backtrace in .bzr.log?
chrispitzer: when i ssh in I can make files in that folder easily
poolie: chrispitzer: so it looks like a bug or an incompatibility between bzr and the upload plugin
poolie: i assume you do actually want the tree contents uploaded?
poolie: i mean, that you want a full checkout on the server
chrispitzer: yea
chrispitzer: it works great for a bunch of sites I use it on... bzr upload that is.
chrispitzer: it just doesn't want to work this time.
chrispitzer: *shrug* time to get on with my life I guess. :P
16:55
chrispitzer: thanks anyway - later
chrispitzer left the room.
Tue 2009-07-28 23:38:33 -0700
0.047 bzr arguments: [u'upload', u'bzr+ssh:
0.053 looking for plugins in /home/chris/
0.053 looking for plugins in /usr/lib/
0.102 encoding stdout as sys.stdout encoding 'UTF-8'
0.160 opening working tree '/home/
0.266 ssh implementation is OpenSSH
1.336 Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
(self.
File "/usr/lib/
return self._combine_
File "/usr/lib/
raise errors.
InvalidURL: Invalid url supplied to transport: "README.txt"
summary: |
- InvalidURL error + InvalidURL error when using bzr+ssh protocol |
summary: |
- InvalidURL error when using bzr+ssh protocol + Error message unclear when using bzr+ssh protocol (InvalidURL error ) |
Changed in brz: | |
milestone: | none → 3.0.0 |
importance: | Undecided → Medium |
status: | New → Fix Released |
I'm not sure what upload should do there...(apart from not blowing up like this, that is). /edge.launchpad .net/bzr- push-and- update is far more appropriate (and works today),
If bzr is available on the remote site, there is no point in using upload,
https:/
and 'bzr push' itself should populate the working tree (but I'm not sure the smart server does that today).
upload is mostly targeted at remote sites where bzr can't be installed and will never be as smart
as the two solutions above.