bzr-git and backslashes in names

Stefan Monnier monnier at iro.umontreal.ca
Sun Aug 26 16:25:02 UTC 2012


>> > It's not a trivial problem since all backslashes provided are
>> > converted to forward slashes at the inventory level, for compatibility
>> > with Windows.
>> But when bzr-git sees a backslash in a file name in a Git repository,
>> why can't it turn it into an _ before passing it to bzrlib?
> It has to be able to roundtrip the data.

Then turn backslash into "_backslash_" and turn "(_+)backslash_" into
"\1_backslash_".  Or you can also decide that round-tripping doesn't
work with backslashes (still better than what we have now).


        Stefan



More information about the bazaar mailing list