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

commit fails with "has no ancestry information" error (solved)

From: Neil Brewster <neil_at_schmeel.ca>
Date: Thu, 26 Aug 2010 10:20:43 -0400

  I've seen this issue reported in various mailing lists without solutions
(including the 2006 archives of this list!). Recently I found an answer
and wanted to add it to the mailing list archives:

Problem:

> % svn commit -m ''
>
> I get the following error:
>
>
> svn: '/d0/home/tlm/path_to_some_dir/Project' has no
> ancestry information

Resolution -
 From http://victorhurdugaci.com/svn-no-ancestry-information/:

It seems that the SVN commit is forbidden if you try to commit a file
that is a folders structure, and one of the nodes in it (not the top most
parent) is missing the .svn folder.

- folder1 [with .svn]
- folder2 [without .svn]
- folder3 [with .svn]
Committing “folder3″ will bring that error message.

In my case, there was a stray .svn in folder1 after I rearranged my
workspace. Removing it solved the issue. (SVN client 1.6.6)

neil.
Received on 2010-08-26 16:47:52 CEST

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.