url-encode local branch names

Bug #320655 reported by Marius Kruger
2
Affects Status Importance Assigned to Milestone
ScmProj plugin
Fix Released
Medium
Alexander Belchenko

Bug Description

I need to have branch names like 1.2/1.2.2
but when I wanted to pfetch these branches it said:
# Creating local branch 1.2/1.2.2...
bzr: ERROR: Parent directory of file:///stuph/projects/vps-cas/src/.scmproj/repos/dbobjects/1.2/1.2.2 does not exist.
You may supply --create-prefix to create all leading parent directories.

We can encode the local dir name with urllib.quote
    then we would have to make sure everything which interacts with the repos does this consistently.

Related branches

Revision history for this message
Alexander Belchenko (bialix) wrote :

I think we need encode many types of names, not forget about special windows names like 'aux', 'com' etc.

Changed in bzr-scmproj:
importance: Undecided → Medium
milestone: none → 0.4.5
status: New → Confirmed
Changed in bzr-scmproj:
assignee: nobody → bialix
status: Confirmed → Fix Committed
Changed in bzr-scmproj:
milestone: 0.4.5 → 0.4.5a1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.