Problems with percent and/or colon in paths
I have a repository with a file that had a percent symbol in it, and while I have no problems getting info when running commands against the local tree, I get errors if trying to access via bzr+ssh or over http. For example
> ls bzr branch bzr+ssh:
> bzr ls foobar
foobar/
> bzr ls bzr+ssh:
bzr+ssh:
> bzr log foobar/
<some log history>
> bzr log bzr+ssh:
bzr: ERROR: Path unknown at end or start of revision range: somefile:.txt
I've tried with a couple of other paths, all with similar results. It seems that at some point bzr is percent decoding the file names. Even more confusing is that it seems to do it multiple times, but I can't figure out a way to get info about the particular file. For example, I get the following:
> bzr log bzr+ssh:
bzr: ERROR: Path unknown at end or start of revision range: somefile:.txt
> bzr log bzr+ssh:
bzr: ERROR: Path unknown at end or start of revision range: somefile%:.txt
> bzr log bzr+ssh:
bzr: ERROR: Path unknown at end or start of revision range: somefile%%:.txt
For some reason, it always urldecodes the last sequence. In general, I don't much care if bzr cannot support %'s in filenames, but if it can't then it would be nice to be prevented when the attempt to 'bzr add' is made.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Phil Black for more information if necessary.