backslashes in filenames not allowed

Bug #163858 reported by to be removed
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
Triaged
Medium
Unassigned

Bug Description

I just tried to do this:

liw@gytha$ bzr branch http://svn.wolffelaar.nl/lintian/trunk trunk.bzr
bzr: ERROR: [u'testset', u'filenames', u'files', u"'"] is not versioned
[status 3]

I'm using the versions of bzr and bzr-svn that are in Ubuntu gutsy.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

The repository contains a file named:

testset/filenames/files/'\

and that seems to confuse bzr-svn somehow

Changed in bzr-svn:
status: New → Won't Fix
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

whoops, wrong status

Changed in bzr-svn:
status: Won't Fix → Confirmed
Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 163858] Re: bzr-svn cannot check out lintian repository

  status triaged
  importance medium

Bazaar doesn't allow backslashes as characters in filenames, only as
path separators. bzr-svn should probably ignore files with backslashes
in their name and warn about them.
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/

Changed in bzr-svn:
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 163858] bzr-svn cannot check out lintian repository

I've just committed a fix that makes bzr-svn print a saner error
message.
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/

Revision history for this message
Martin Pool (mbp) wrote : Re: bzr-svn cannot check out lintian repository

It would be ok with me to fix Bazaar to accept backslashes (and just refuse to check them out on windows).

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

That would make sense to me. What about invalid UTF8 characters?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Never mind, I haven't actually run across any invalid UTF8 characters so far.

Reassigning this to bzr.

Revision history for this message
Daniel Clemente (n142857) wrote :

Allowing \ in file names in Bazaar is the first step to handle backslashes more gracefully (bug 81844). I suggest to reopen this specific bug (now a duplicate of 81844).

Revision history for this message
CodyC (cody-casterline) wrote :

I'd just like to bump this issue as well.

I'd love to use bzr-svn to work with a repo that has at some point in its history contained a file with a backslash in it. Thankfully the file was renamed to something sane, but since bzr won't allow such a name in its history, I'm locked out of using bzr-svn with that svn project for good. As projects accumulate more history, the likelihood of having something like this muck up a bzr-svn branch grows.

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.