monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Problems with commit and get_author


From: Steven Lusk
Subject: [Monotone-devel] Problems with commit and get_author
Date: Wed, 1 Oct 2003 16:48:30 -0400

  Hate to bother you guys again so soon, but i'm having some bad luck.
  
  I'm trying to commit my first working copy.  I've created the DB, and
added keys.  Everything has been just ducky, until i issue:
  
$monotone --verbose commit 'initial insertion'

  Monotone runs for a while, asks me for my passphrase, and then issues this:

monotone: db.fetch("SELECT id FROM 'manifest_certs' WHERE id = 
'e2677e8e54c80077873aff7e0f75e0f5719b996d' AND name = 'date' AND value = 
'MjAwMy0xMC0wMVQyMDoyNTozMw==' AND keypair = 'key' AND signature = 
'hwa4mZ6kYppmOmRDxwy1rut1fMfhTuG78pE8rkgSxCZbxq3C7+JIW4LlEqpmonotone: 
db.execute("INSERT INTO 'manifest_certs' 
VALUES('e2677e8e54c80077873aff7e0f75e0f57 ...")
monotone: calling lua hook get_author (devel) -> monotone: usage constraint 
'N((lua_type(st, -1) == LUA_TSTRING || lua_type(st, -1) == LUA_TNUMBER))' 
violated at lua.cc:114

and then exits with:

monotone: db.execute("ROLLBACK")
monotone: misuse: need lua string or number value

**** error return code 1
**********  errors detected; see standard output for details  ***********



  I tried putting the following into .monotonerc:
  
function get_author(branchname)
    return { {"steve"} }
end

  No dice.

  Looking through the code, i double checked to make sure my environment is
setup correctly, and both USER and HOSTNAME return sane values.


  So i'm stumped.  What am i doing wrong?
  
  
  steve


-- 
http://www.galaxial.org/~steve/




reply via email to

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