bzr add .bzr/
mbp at canonical.com
Mon Feb 12 23:08:11 GMT 2007
On 12 Feb 2007, Alexander Belchenko <bialix at ukr.net> wrote:
> Matthias Rahlf пишет:
> > Hi,
> > $ bzr add .bzr/
> > bzr: ERROR: Cannot operate on <bzrlib.add.FastPath object at 0xb75826ec>
> > because it is a control file
> > It seems, FastPath is missing a __str__() method.
> > I'm not familiar with the development process. Should I file a bug
> > report or is there a friendly developer who would adopt my patch?
Thanks for reporting it.
> Our development process use TDD, so you need also write the unit test
> for this bug.
> I think blackbox test will be good enough.
> You could find blackbox tests for 'add' command in bzrlib/tests/blackbox/test_add.py.
> Use some test as example, or ask for help.
Something like this:
out, err = self.run_bzr('add', 'a/.bzr', retcode=3)
More information about the bazaar