[MERGE] bzr rm should delete the working file (Bug #82602)
amanic at gmail.com
Fri Apr 20 07:37:26 BST 2007
I figured out what the real difference is:
if you apply relpath to something which is already relative
while not in the base dir, it prepends your path. (the old canonicalpath
anyways, I'll just abspath first where this could be a problem
On 4/20/07, Marius Kruger <amanic at gmail.com> wrote:
> so I wrote proper tests for canonical path,
> and when I saw your mail,
> I tried them with relpath,
> and you are right it passes all the tests.
> I did not expect this though,
> will fixup i.e use relpath.
> I can't seem to win
> On 4/20/07, Robert Collins <robertc at robertcollins.net > wrote:
> > On Fri, 2007-04-20 at 07:17 +0200, Marius Kruger wrote:
> > >
> > >
> > > I can change the doc string to
> > > """Normalize filename
> > >
> > > Returns the filename relative to the working tree base,
> > > resolving pathelements like '.', '..', and removing trailing
> > > slashes
> > > for directories.
> > > """
> > How is it different to WorkingTree.relpath ?
> > -Rob
> > --
> > GPG key available at: < http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the bazaar