[BUG] new extension: localbranch

Brendan Cully brendan at kublai.com
Thu Aug 30 22:02:16 UTC 2007


On Thursday, 30 August 2007 at 23:31, Guido Ostkamp wrote:
>>>> It's a very young extension, and probably still very buggy. Feedback is 
>>>> appreciated, but please don't store anything vital exclusively in a local 
>>>> branch yet.
>
> I think I detected a bug in the localbranch:
>
> When I create a repository with some content, then create a test branch, 
> change and commit something, switch back to default branch, add a new file 
> commit and switch back to the test branch and update to tip, the new file
> created in default branch is not being deleted though it should not be 
> there.
>
> What do you think?
>
> Possibly there are similar problems in opposite direction, I didn't check.

Yes, this is a defect. localbranch is not currently as smart as it
could be about how it updates the working directory state when
switching branches. I'll have to think about a nice fix.

Hopefully this bug isn't too severe, since the file is untracked in
the target branch. But it is a bug.



More information about the Mercurial mailing list