dirstate update... all tests passing
Robert Collins
robertc at robertcollins.net
Thu Feb 15 10:55:20 GMT 2007
Dirstate is now passing the tree interface tests. I'm positive that this
means our tests coverage is low on the tree interface :(.
One in particular that stood out is the move() api, which has only two
tests, but can work in many different ways.
That said:
$ ./bzr --no-plugins selftest
bzr: /home/robertc/source/baz/dirstate/bzr
bzrlib: /home/robertc/source/baz/dirstate/bzrlib
[129/4643 in 31s]
test_bzrdir.TestRemoteSFTP.test_open_containing_tree_or_branch /var/lib/python-support/python2.5/paramiko/message.py:226: DeprecationWarning: integer argument expected, got float
self.packet.write(struct.pack('>I', n))
[4643/4643 in 615s, 244 skipped] bzrlib.option._parse_revision_str
----------------------------------------------------------------------
Ran 4643 tests in 615.529s
OK
tests passed
Socket exception: Bad file descriptor (9)
Socket exception: Bad file descriptor (9)
Socket exception: Bad file descriptor (9)
Socket exception: Bad file descriptor (9)
So some stipple aside, it is passing all tests.
Tomorrow I'm going to work on merging Aarons branch containing various
improvements. Other folk wanting to work on dirstate might like to
tackle some of the other issues:
* Win32 support: AFAIK this just means supporting a record of the
execute bit on windows. (Windows uses the 'x' bit from the working
inventory because its directories cannot always answer 'is X marked
executable.'.
* Tuning for commit, diff, status: This involves specialising the
InterTree object for WorkingTree4 to DirstateRevisionTree, and using the
dirstate to generate changes data directly from it. We'll also want to
start using path based apis for filtering of the files to diff/status.
Cheers,
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070215/975261cb/attachment.pgp
More information about the bazaar
mailing list