Last character of path stripped in result message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Martin Pool | ||
Bazaar Subversion Plugin |
Invalid
|
Undecided
|
Unassigned |
Bug Description
bzr-svn sometimes causes bzr to drop the last character of a branch URL.
$ bzr up
Tree is up to date at revision 350 of branch http://
$ bzr info | grep "checkout of"
checkout of branch: http://
$ bzr plugins | grep ^svn
svn 1.0.2
$ bzr --version | head -n1
Bazaar (bzr) 2.1.0
The reason seems to be that
1. bzrlib.
2. bzrlib.
# get rid of the final '/' and be ready for display
I don't know which one is to blame. I personally would prefer an rstrip('/') in cmd_update, but perhaps there is a good reason to do things differently, and perhaps there are other places where bzrlib expects a path with trailing slash as well, so adjusting bzr-svn might be a more complete solution, albeit probably requiring more work as well.
Related branches
- John A Meinel: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedbzrlib/osutils.py (+1/-1)
- bzr-core: Pending requested
-
Diff: 15 lines (+4/-1)1 file modifiedbzrlib/transport/__init__.py (+4/-1)
Changed in bzr-svn: | |
status: | New → Invalid |
Changed in bzr: | |
status: | In Progress → Fix Released |
that seems pretty obviously silly and easy to fix on the bzr side