|
From: | graydon hoare |
Subject: | [Monotone-devel] Re: monotone: misuse: partial id error |
Date: | Mon, 05 Apr 2004 15:43:55 -0400 |
User-agent: | Mozilla Thunderbird 0.5 (X11/20040208) |
Tom Faska wrote:
It is not shown below but to get by the "monotone: misuse: no default author name for branch 'testbranch'" error I added the following to $HOME/.monotonerc:function get_author(branchname) return "address@hidden" end
yes. unfortunately people keep running into this; I suspect you're on a debian system, and for reasons which are not clear to me lua seems to be unable to extract the USER and HOSTNAME environment variables on debian. I ought to correct that.
monotone: committed 0b8f094f42b743a1e2d9481632e2d845cd3fa761 address@hidden:~$ cat MT/manifest 284385b12c29e08f272423703e114737a314065a dyndns.py address@hidden:~$ monotone list certs manifest 2843 monotone: misuse: partial id '2843' does not have a unique expansion
this is because the file version is 2843..., not the manifest version. the file's version code is the hash of the file. the manifest's version code is the hash of the string:
"284385b12c29e08f272423703e114737a314065a dyndns.py"(with a trailing newline), which constitutes the body of the manifest. that version code for the manifest was printed above, when you committed: 0b8f094f42b743a1e2d9481632e2d845cd3fa761
try: monotone ls certs manifest 0b8f -graydon
[Prev in Thread] | Current Thread | [Next in Thread] |