monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision 4919322afd0162967a02565c59ff58b12ba447


From: monotone
Subject: [Monotone-commits-diffs] Revision 4919322afd0162967a02565c59ff58b12ba44709
Date: Wed, 30 Jun 2010 02:58:06 +0200

-----------------------------------------------------------------
Revision: 4919322afd0162967a02565c59ff58b12ba44709
Ancestor: 8fb1a3c5dbddb30a908e9ff30ba17df69517a9c6
Author: address@hidden
Date: 06/30/10 02:53:57
Branch: net.venge.monotone

Added files:
        tests/trust_hooks_and_trusted_command/hooks.lua
Modified files:
        NEWS automate.cc cmd_key_cert.cc selectors.cc selectors.hh
        tests/test_hooks.lua
        tests/trust_hooks_and_trusted_command/__driver__.lua

ChangeLog: 

* selectors.cc (expand_selector): remove the short circuit; it makes
  no sense to just echo a string which looks like a revision id, but
  actually is unknown to the current database
* selectors.{hh,cc}: make diagnose_ambiguous_expansion a local function
  and move it on top of the file, so the remaining references can find it
* cmd_key_cert.cc (trusted): instead of using expand_selector() and
  diagnose_ambigious_expansion() manually, just call complete(). This
  also means that the trusted command can no longer be executed on
  bogus revision ids
* automate.cc (select): add a note that this is the last place
  where expand_selector() is used and that this should probably
  be changed in the future
* tests/test_hooks.lua: move a couple of trust-related functions into
* tests/trust_hooks_and_trusted_command/hooks.lua: ...where they
  belong, since they only seem to be used in this test
* tests/trust_hooks_and_trusted_command/__driver__.lua: bogus
  revision ids are no longer accepted by mtn trusted, so we create
  two real arbitrary revisions instead
* NEWS: note the changes

Attachment: txt_nQNuJNFu7.txt
Description: Diff [8fb1a3c5dbddb30a908e9ff30ba17df69517a9c6] -> [4919322afd0162967a02565c59ff58b12ba44709]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]