Hi there!
I managed to build the monotone.cvssync branch on ubuntu/breezy (gcc 4.0)
without problems. All 239 tests in the testsuite behaved as expected.
Congratulations on that!
What I wanted to do was import the gdb sources into monotone. So I set up a DB
first, using the usual commands:
> monotone --db=~/.MT/gdb.db db init
> monotone --db=~/.MT/gdb.db genkey email-as-above
Then I tried to import the CVS module:
> monotone --db=~/.MT/gdb.db \
--branch=anoncvs@xxxxxxxxxxxxxxxxxx/gdb-dejagnu \
-k "email-as-above" \
cvs_pull :pserver:anoncvs@xxxxxxxxxxxxxxxxxx:/cvs/src gdb+dejagnu
enter passphrase for key ID [email-as-above]:
monotone: bytes in | bytes out
monotone: 6692 | 517 | 0
monotone: warning: cvs checkout: warning: new-born src/djunpack.bat has
disappeared
monotone: fatal: std::logic_error: cvs_client.cc:1467: invariant
'I(lresult[0].second=="Clear-static-directory")' violated
[snip]
> monotone --full-version ~/src/CHECKOUT
monotone 0.19 (base revision: 9705e10e5e7b2c2e7365756f3ad6e1c619fd9f60)
Running on: Linux 2.6.10-5-686-smp #1 SMP Tue Apr 5 12:41:40 UTC 2005 i686
Changes since base revision:
new_manifest [5439a9e5083039aec59a636ec014e7b0e93c0737]
old_revision [9705e10e5e7b2c2e7365756f3ad6e1c619fd9f60]
old_manifest [5439a9e5083039aec59a636ec014e7b0e93c0737]
Running the cvs_pull with debug gives the following information for the
critical passage:
[snip]
monotone: readline result 'T9999'
monotone: readline result 'Set-sticky src/cpu/'
monotone: readline result '/cvs/src/src/cpu/'
monotone: readline result 'T9999'
monotone: readline result 'E cvs checkout: warning: new-born
src/djunpack.bat has disappeared'
monotone: warning: cvs checkout: warning: new-born src/djunpack.bat has
disappeared
monotone: readline result 'Remove-entry src/'
monotone: readline result '/cvs/src/src/djunpack.bat'
monotone: cvs_client::RequestServerDir lresult[0].second is
'Remove-entry', not 'Clear-static-directory'
monotone: cvs_client.cc:1467: invariant
'I(lresult[0].second=="Clear-static-directory")' violated
monotone: db.execute("ROLLBACK")
[snip]
I hope this helps with debugging. The really good thing is that it fails very
early, so this is not causing too much network traffic when testing it;-)
--
Gruss,
Tobias
------------------------------------------------------------
Tobias Hunger The box said: 'Windows 95 or better'
tobias@xxxxxxxxxxx So I installed Linux.
------------------------------------------------------------
|