[MERGE] bzr rm should delete the working file (Bug #82602)

Marius Kruger amanic at gmail.com
Fri Apr 20 06:17:34 BST 2007


On 4/19/07, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
>
> It also introduces WorkingTree.canonicalpath, which is
> untested.  Its docstring is faulty (should be 'normalize'), and its
> purpose is unclear.


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.
        """
and add explicit tests  (it is tested but implicitly)

Is it supposed to resolve symlinks, for example?


no

What about hard links?


no,
is this needed?


regards
marius

-- 

I don't trust a Revision Control System with less than 5900 unit tests.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20070420/e48dcf45/attachment.htm 


More information about the bazaar mailing list