bugmonotone - Bugs: bug #7220, [NEED TEST] Monotone handles...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #7220: [NEED TEST] Monotone handles deleted files very ungracefully

Submitted by:  Nathaniel Smith <njs>
Submitted on:  Tue 13 Jan 2004 10:32:22 AM UTC  
 
Category: working copySeverity: 3 - Normal
Item Group: crashStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open
mtn version --full: 

Mon 21 Feb 2005 11:47:43 PM UTC, comment #2:

This bug needs a (possibly XFAILed) test written.

Nathaniel Smith <njs>
Project Administrator
Tue 13 Jan 2004 11:12:37 AM UTC, comment #1:

An especially rude form of this is:
$ monotone add foo
$ monotone commit 'blah'
$ rm -f foo
$ monotone drop foo
<crashes>

Nathaniel Smith <njs>
Project Administrator
Tue 13 Jan 2004 10:32:22 AM UTC, original submission:

$ mkdir test
$ cd test
$ echo foo > foo
$ monotone db init --db=test.db
$ monotone --db=test.db add foo
monotone: adding foo to working copy add set
$ monotone status
Old manifest: da39a3ee5e6b4b0d3255bfef95601890afd80709
New manifest: e61621c74656cb80da9680bf6f9cdc7b15ec0085
Summary of changes:
add foo as f1d2d2f924e986ac86fdf7b36c94bcdf32beec15
$ rm -f foo
$ monotone status
<debug log>

      • Error: std::exception: FileStore: error opening file for reading: foo
        • error return code 205
                    • errors detected; see standard output for details ***********

diff gives the same error (as does commit and probably some other commands, but there it's at least somewhat defensible.)

That foo is only added in the working copy is irrelevant; the same problem occurs if one inserts a "monotone commit" before deleting foo.

Nathaniel Smith <njs>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter 421 here (basic anti-spam test):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Mon 21 Feb 2005 11:47:43 PM UTCnjsSummaryMonotone handles deleted files very ungracefully=>[NEED TEST] Monotone handles deleted files very ungracefully
Show feedback again

Back to the top


Powered by Savane 3.1-cleanup