Thomas Keller wrote:
> mtn status is the user UI, you probably want to use mtn automate
> inventory [0]. There you get all the information:
Thanks. "mtn automate inventory" provides the information I need. I found a bug while testing it though. It looks like files with backslashes in their name trigger an assert. "mtn status" doesn't appear to have this problem.
Cheers,
Derrick
$ touch '\'
$ mtn automate inventory
mtn: fatal: error: paths.cc:420: I(utf8_validate(utf8(data, origin::internal)) && !has_bad_component_chars(data) && data != "." && data != "..")
mtn: this is almost certainly a bug in monotone.
mtn: please send
this error message, the output of 'mtn version --full',
mtn: and a description of what you were doing to address@hidden
mtn: wrote debugging log to /home/dmoser/Diffuse/mtn-test/project/_MTN/debug
mtn: if reporting a bug, please include this file
$ mtn version --full
monotone 0.44 (base revision: 7a4832143b3146ca89f5cb91e0e571d05e29d4b9)
Running on : Linux 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686
C++ compiler : GNU C++ version 4.3.3
C++ standard library: GNU libstdc++ version 20090714
Boost version : 1_38
SQLite version : 3.6.16 (compiled against 3.6.16)
Lua version : Lua 5.1
PCRE version : 7.8 2008-09-05 (compiled against
7.8)
Botan version : 1.8.4 (compiled against 1.8.4)
Changes since base revision:
format_version "1"
new_manifest [e4fc965aec46ce8b371e818de6092168e1b6f52f]
old_revision [7a4832143b3146ca89f5cb91e0e571d05e29d4b9]
Generated from data cached in the distribution;
further changes may have been made.
$ cat _MTN/debug
Encountered an error while musing upon the following:
paths.cc:420: detected internal error, 'I(utf8_validate(utf8(data, origin::internal)) && !has_bad_component_chars(data) && data != "." && data != "..")' violated
Current work set: 5 items
----- begin 'system_flavour' (in virtual void sanity::initialize(int, char**, const char*), at sanity.cc:103)
Linux 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686
----- end 'system_flavour' (in virtual void sanity::initialize(int, char**, const
char*), at sanity.cc:103)
----- begin 'cmdline_string' (in virtual void sanity::initialize(int, char**, const char*), at sanity.cc:117)
'mtn', 'automate', 'inventory'
----- end 'cmdline_string' (in virtual void sanity::initialize(int, char**, const char*), at sanity.cc:117)
----- begin 'string(lc_all)' (in virtual void sanity::initialize(int, char**, const char*), at sanity.cc:122)
en_GB.UTF-8
----- end 'string(lc_all)' (in virtual void sanity::initialize(int, char**, const char*), at sanity.cc:122)
----- begin 'full_version_string' (in virtual void mtn_sanity::initialize(int, char**, const char*), at mtn-sanity.cc:32)
monotone 0.44 (base revision: 7a4832143b3146ca89f5cb91e0e571d05e29d4b9)
Running on : Linux 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686
C++ compiler : GNU C++ version
4.3.3
C++ standard library: GNU libstdc++ version 20090714
Boost version : 1_38
SQLite version : 3.6.16 (compiled against 3.6.16)
Lua version : Lua 5.1
PCRE version : 7.8 2008-09-05 (compiled against 7.8)
Botan version : 1.8.4 (compiled against 1.8.4)
Changes since base revision:
format_version "1"
new_manifest [e4fc965aec46ce8b371e818de6092168e1b6f52f]
old_revision [7a4832143b3146ca89f5cb91e0e571d05e29d4b9]
Generated from data cached in the distribution;
further changes may have been made.
----- end 'full_version_string' (in virtual void mtn_sanity::initialize(int, char**, const char*), at mtn-sanity.cc:32)
----- begin 'data' (in path_component::path_component(const char*), at
paths.cc:417)
\\
----- end 'data' (in path_component::path_component(const char*), at paths.cc:417)