[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-nodiffs] Revision 20c351d86eb0404f6c39855c10db7ec7a49f
From: |
monotone |
Subject: |
[Monotone-commits-nodiffs] Revision 20c351d86eb0404f6c39855c10db7ec7a49fdb0d |
Date: |
Wed, 28 Feb 2007 12:05:33 +0100 |
-----------------------------------------------------------------
Revision: 20c351d86eb0404f6c39855c10db7ec7a49fdb0d
Ancestor: 349e77727a794a01eb0208c4b12b05c7bc31baac
Author: address@hidden
Date: 2007-02-28T10:43:24
Branch: net.venge.monotone.cvssync.candidates
Added files:
tests/automate_put_revision_for_merge/__driver__.lua
Added directories:
tests/automate_put_revision_for_merge
Modified files:
automate.cc database.cc monotone.texi revision.cc
tests/automate_put_file/__driver__.lua
tests/automate_put_revision/__driver__.lua
tests/automate_put_revision_unknown_file/__driver__.lua
ChangeLog:
* database.cc (put_revision): Check that any new file_id's
mentioned refer to file_id's that we actually have. (This is a
major lurking bug in our consistency checking, ever since rosters
were created!) It'd be safer to do the check by running over the
roster (no need to have one special case each for add_file, patch,
etc.), but each check requires doing IO and I'm concerned about
hammering the database in an O(tree) way instead of an O(changes)
way.
* automate.cc (put_file): Error on no arguments given. Don't
error if the file already exists (the caller shouldn't care, the
postconditions of the function are the same regardless).
(put_revision): Fix placeholder variable in help output. Don't
error if the revision already exists (see previous paragraph).
* monotone.texi (Automation: put_revision): Clarify what sort of
sloppiness you can get away with and what sort you can't.
* tests/automate_put_revision_for_merge/: New test.
* tests/automate_put_file/, tests/automate_put_revision/:
* tests/automate_put_revision_unknown_file/: Add more checks.
* revision.cc (check_sane): Add a FIXME for some totally broken
code.
monotone --db={your.database} diff
--revision=349e77727a794a01eb0208c4b12b05c7bc31baac
--revision=20c351d86eb0404f6c39855c10db7ec7a49fdb0d
----------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-nodiffs] Revision 20c351d86eb0404f6c39855c10db7ec7a49fdb0d,
monotone <=