[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Commit failures when adding new directories/files

From: Mark Phippard <markphip_at_gmail.com>
Date: Sun, 8 Mar 2009 15:08:29 -0400

On Sun, Mar 8, 2009 at 4:25 AM, Murli Varadachari
<mvaradachari_at_facebook.com> wrote:
> I am trying to check in a bunch of new stuff and the checkin fails with this
> error:
> svn: Commit failed (details follow):
> svn: '/myworkdir/projectX/sharescraper/if' is not under version control and
> is not part of the commit, yet its child
> '/myworkdir/projectX/sharescraper/if/TARGETS' is part of the commit
> Which seems strange because svn st shows it’s added:
> svn st
> ...
> A      sharescraper/if
> A      sharescraper/if/sharescraper.thrift
> A      sharescraper/if/TARGETS
> ...

Yes, it would not even be possible to add something without its parent
being added or versioned.

> And I can’t re-add it:
> svn add sharescraper/if
> svn: warning: 'sharescraper/if' is already under version control
> Tried doing a revert and re-add, but no luck.
> Any  ideas? I seem to seen this type of problems mentioned here before.

What does your commit command look like? Even though the parent
folder is added, you still have to include it in the commit targets.

Mark Phippard
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-08 20:09:19 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.