[Monotone-devel] bug after trying to drop a file

2005-04-19 Thread Benoît Dejean
hi, i was playing with monotone following the tutorial

i tried to drop file a/b/c/d/e, which -- i guess -- would have also drop
empty directories a/b/c/d

here are the commands i tried :

[00:26:22][pts/1][~/treshautdebit][#86][0]
[EMAIL PROTECTED]  monotone drop a
monotone: adding a to working copy delete set
monotone: warning: SORRY -- 'drop somedir' is not going to work.
monotone: warning: Revert and try 'find somedir -type f | xargs monotone
drop'

[00:26:46][pts/1][~/treshautdebit][#87][0]
[EMAIL PROTECTED]  monotone drop a/b/c/d/e
monotone: fatal: std::logic_error: path_component.cc:53: invariant 'I(!
null_name(*i))' violated
monotone:
monotone: this is almost certainly a bug in monotone.
monotone: please send this error message, the output of 'monotone
--full-version',
monotone: and a description of what you were doing to
[EMAIL PROTECTED]
monotone: wrote debugging log to MT/debug

[00:26:56][pts/1][~/treshautdebit][#88][0]
[EMAIL PROTECTED]  monotone drop a/b/c/d/e
monotone: fatal: std::logic_error: path_component.cc:53: invariant 'I(!
null_name(*i))' violated
monotone:
monotone: this is almost certainly a bug in monotone.
monotone: please send this error message, the output of 'monotone
--full-version',
monotone: and a description of what you were doing to
[EMAIL PROTECTED]
monotone: wrote debugging log to MT/debug

[00:27:05][pts/1][~/treshautdebit][#89][0]
[EMAIL PROTECTED]  monotone update
monotone: fatal: std::logic_error: path_component.cc:53: invariant 'I(!
null_name(*i))' violated
monotone:
monotone: this is almost certainly a bug in monotone.
monotone: please send this error message, the output of 'monotone
--full-version',
monotone: and a description of what you were doing to
[EMAIL PROTECTED]
monotone: wrote debugging log to MT/debug

[00:27:10][pts/1][~/treshautdebit][#90][0]
[EMAIL PROTECTED]  monotone --full-version
monotone 0.18 (base revision: e8c9e4eb0534a4c6e538935576330de34ec42052)
Running on: Linux 2.6.11-powerpc #1 Mon Apr 4 04:03:40 CEST 2005 ppc
Changes since base revision:

new_manifest [cbc23fa42b07e4f6f7d3a327c5eb1d4f4a782a75]

old_revision [e8c9e4eb0534a4c6e538935576330de34ec42052]
old_manifest [cbc23fa42b07e4f6f7d3a327c5eb1d4f4a782a75]


  Generated from data cached in the distribution;
  further changes may have been made.

  Generated from data cached in the distribution;
  further changes may have been made.

  Generated from data cached in the distribution;
  further changes may have been made.



I've attached MT/debug and MT/work.

Thanks

-- 
Benot Dejean
JID: [EMAIL PROTECTED]
GNOME http://www.gnomefr.org/
LibGTop http://directory.fsf.org/libgtop.html
started up on Linux 2.6.11-powerpc #1 Mon Apr 4 04:03:40 CEST 2005 ppc
command line: 'monotone', 'update'
set locale: LC_CTYPE=fr_FR.UTF-8, LC_MESSAGES=fr_FR.UTF-8
initial path is /home/benoit/treshautdebit
searching for 'MT' directory with root '/'
search for 'MT' ended at '/home/benoit/treshautdebit' with '' removed
initializing from directory /home/benoit/treshautdebit
found working copy directory /home/benoit/treshautdebit
options path is MT/options
local dump path is MT/debug
setting dump path to MT/debug
opening rcfile '/home/benoit/.monotonerc' ...
'/home/benoit/.monotonerc' is ok
skipping nonexistent rcfile 'MT/monotonerc'
executing update command
options path is MT/options
revision path is MT/revision
loading revision id from MT/revision
db.fetch(SELECT id FROM 'revisions' WHERE id = 
'a23aee2cbf80acfe2483c5414347f5d3444722a5')
db.fetch(SELECT data FROM revisions WHERE id = 
'a23aee2cbf80acfe2483c5414347f5d3444722a5')
old manifest is 3cc752f6d6eda18bb48da8e0ee39231e0966cd7d
db.fetch(SELECT id FROM 'manifest_deltas' WHERE id = 
'3cc752f6d6eda18bb48da8e0ee39231e0966cd7d')
db.fetch(SELECT id FROM 'manifests' WHERE id = 
'3cc752f6d6eda18bb48da8e0ee39231e0966cd7d')
db.fetch(SELECT id FROM 'manifests' WHERE id = 
'3cc752f6d6eda18bb48da8e0ee39231e0966cd7d')
db.fetch(SELECT data FROM 'manifests' WHERE id = 
'3cc752f6d6eda18bb48da8e0ee39231e0966cd7d')
old manifest has 3 entries
work path is MT/work
checking for un-committed work file MT/work
read rearrangement from MT/work
empty restricted path set; 'a' included
restriction includes delete dir a
path_component.cc:53: invariant 'I(!null_name(*i))' violated
delete_dir a
___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] bug after trying to drop a file

2005-04-19 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Wed, 20 Apr 2005 00:32:58 +0200, Benoît 
Dejean [EMAIL PROTECTED] said:

benoit.dejean i tried to drop file a/b/c/d/e, which -- i guess --
benoit.dejean would have also drop empty directories a/b/c/d
benoit.dejean 
benoit.dejean here are the commands i tried :
benoit.dejean 
benoit.dejean [00:26:22][pts/1][~/treshautdebit][#86][0]
benoit.dejean [EMAIL PROTECTED]  monotone drop a
benoit.dejean monotone: adding a to working copy delete set
benoit.dejean monotone: warning: SORRY -- 'drop somedir' is not going to work.
benoit.dejean monotone: warning: Revert and try 'find somedir -type f | xargs 
monotone
benoit.dejean drop'

This is well known.  As you noticed, everything you tried afterwards
got screwed up.  A very simple fix is to remove (or rename,just to be
safe) MT/work, since it only contains the entry to delete a directory,
and the try all the other stuff.  I wouldn't recommend this as a long-
term solution, but I think it'll have to do for now.

Cheers,
Richard

-
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/

When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up.
-- C.S. Lewis


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] bug after trying to drop a file

2005-04-19 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Wed, 20 Apr 2005 04:18:13 +0200 (CEST), 
Richard Levitte - VMS Whacker [EMAIL PROTECTED] said:

richard In message [EMAIL PROTECTED] on Wed, 20 Apr 2005 00:32:58 +0200, 
Benoît Dejean [EMAIL PROTECTED] said:
richard 
richard benoit.dejean i tried to drop file a/b/c/d/e, which -- i guess --
richard benoit.dejean would have also drop empty directories a/b/c/d
richard benoit.dejean 
richard benoit.dejean here are the commands i tried :
richard benoit.dejean 
richard benoit.dejean [00:26:22][pts/1][~/treshautdebit][#86][0]
richard benoit.dejean [EMAIL PROTECTED]  monotone drop a
richard benoit.dejean monotone: adding a to working copy delete set
richard benoit.dejean monotone: warning: SORRY -- 'drop somedir' is not going 
to work.
richard benoit.dejean monotone: warning: Revert and try 'find somedir -type f 
| xargs monotone
richard benoit.dejean drop'
richard 
richard This is well known.  As you noticed, everything you tried afterwards
richard got screwed up.  A very simple fix is to remove (or rename,just to be
richard safe) MT/work, since it only contains the entry to delete a directory,
richard and the try all the other stuff.  I wouldn't recommend this as a long-
richard term solution, but I think it'll have to do for now.

Agh!  Silly me.  'monotone revert a' fixes the problem.

Time for me to go to bed, I think...

Cheers,
Richard

-
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/

When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up.
-- C.S. Lewis


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel