On Tue, Feb 27, 2007 at 02:28:13PM +0100, Richard Levitte - VMS Whacker wrote: > Hi, > > I've one last test to fix, ws_ops_with_wrong_node_type . It fails at > line 19, and honestly, this test looks weird! First, the directory > "dir2" is created but not added (therefore not versioned), then > there's an attempt to rename the file "file" into that unversioned > directory, and it was apparently expected to succeed! Did monotone > really allow that, ever? Would it make sense for it to allow such an > operation? > > I'm thinking that if monotone ever allowed a versioned file to be > renamed into an unversioned directory, it is a bug that has apparently > been corrected since. I'm changing the test accordingly.
Theory -- it was doing something like $ mkdir foo $ touch bar $ mtn add bar $ mtn mv bar foo And expecting that mtn would, at the end of this, expect that there existed a file (not directory) named "foo", that should be versioned? Hence the test's name, which suggests that it is somehow testing what happens when mtn and the workspace disagree on the file vs. directory status of some versioned entity? -- Nathaniel -- Electrons find their paths in subtle ways. _______________________________________________ Monotone-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/monotone-devel
