monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] What's up with 'warning: including missing parent'?


From: Jack Lloyd
Subject: Re: [Monotone-devel] What's up with 'warning: including missing parent'?
Date: Tue, 15 Jun 2010 00:28:00 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, Jun 14, 2010 at 09:52:21PM -0600, Derek Scherger wrote:
> 
> This is indeed new with 0.48. The restriction semantics were changed
> slightly to include parent directories of explicitly included files.
> Previously the commit above would have failed saying that the parents were
> required but not included.

I don't think this is the case. At least I can't replicate this being
an error in 0.47 (and I ci specifically named files all the time and
have never run into it being an error, except in the case when the
parent directory did not already exist in the db).

Here's 0.48:

$ mkdir test
$ cd test/
$ mtn -d test.mtn db init
$ mtn -d test.mtn setup -b net.randombit.test-mtn .
$ touch foo
$ mtn add foo
mtn: adding foo to workspace manifest
$ mtn ci . foo -m "initial commit"
mtn: beginning commit on branch 'net.randombit.test-mtn'
mtn: committed revision 166d10fed2842b0a39b0710c2b0f2e886d34fda0
$ echo blah > foo
$ mtn ci foo -m "change foo"
mtn: warning: including missing parent ''
mtn: beginning commit on branch 'net.randombit.test-mtn'
mtn: committed revision 4089dfcbcdf5006c0a4b47f2c1bced3db7f5eed7

Rerunning the above sequence with 0.47, it behaves identically up
until the second commit; no warning in 0.47:

$ mtn ci foo -m "change foo"
mtn: beginning commit on branch 'net.randombit.test-mtn'
mtn: committed revision 4089dfcbcdf5006c0a4b47f2c1bced3db7f5eed7

-Jack



reply via email to

[Prev in Thread] Current Thread [Next in Thread]