[BUG] Status shows renames incorrectly

Martin Pool mbp at sourcefrog.net
Thu Jun 16 01:49:08 BST 2005


On 15 Jun 2005, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> It looks like bzr status doesn't display renames as clearly as it could.
> 
> I consider a file 'renamed' when either its name changes, or its parent
> directory changes.  (Actually, I call the former 'renamed' and the
> latter 'moved', but I doubt most users would.)
> 
> So I would expect that when I rename a directory, status will only show
> that.  Here's what happens instead:

I wasn't sure which behaviour would be better.  Showing only the
renamed directory would actually be easier and faster, so perhaps we
should just do that?

> $ bzr rename effbot/ ../effbot
> $ bzr status
> renamed:
>   effbot.org-0.1-20041009/effbot => effbot
>   effbot.org-0.1-20041009/effbot/__init__.py => effbot/__init__.py
>   effbot.org-0.1-20041009/effbot/org => effbot/org
>   effbot.org-0.1-20041009/effbot/org/__init__.py => effbot/org/__init__.py
>   effbot.org-0.1-20041009/effbot/org/gzip_consumer.py =>
> effbot/org/gzip_consumer.py
>   effbot.org-0.1-20041009/effbot/org/http_client.py =>
> effbot/org/http_client.py
> effbot.org-0.1-20041009/effbot/org/http_manager.py =>
> effbot/org/http_manager.py
-- 
Martin




More information about the bazaar mailing list