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

Re: Strange behavior

From: Ryan Schmidt <subversion-2012c_at_ryandesign.com>
Date: Fri, 9 Aug 2013 15:16:51 -0500

Remember to Reply All so that your message goes to the mailing list too, not just to me.

On Aug 9, 2013, at 14:59, John Maher wrote:

> Thanks for your reply. I appreciate informing me that subversion is robust. I was concerned it was getting corrupted by the strange behavior. Plus you've also helped by telling me that the ignore property does not mean ignore, it means sometimes ignore. On page 68 of the book it explains that the ignore property is used to eliminate files from svn status. But your explanation matches my observations, thank you. The book is wrong again.
>
> I tried to delete the files from the repository with svn delete, but that failed because they were not part of the current revision. So it seems that I have to delete the repository and create it again (for the 3rd time).
>
> Does import work with the ignore property? It mentions it in the help, but I do not know if the help is wrong. If properties need to be applied to a working directory how do I use them with the import command BEFORE a working copy exists?. I followed the instructions in the book, created a repository and it came out all wrong, again.
>
> Can someone tell me how to get code files into the repository and stop the compiler generated files and directories?
>
> Thanks
> JM

Page 68 of the PDF version of the book is within the section "Ignoring Unversioned Items", but the items you're talking about are versioned, not unversioned.

"svn import" will obey your svn autoprops:

http://svnbook.red-bean.com/en/1.7/svn.advanced.props.html#svn.advanced.props.auto

But I often prefer to avoid the "svn import" command and do an "in-place import" instead:

http://subversion.apache.org/faq.html#in-place-import

This affords you the opportunity to be more selective about what you import and to add properties before committing.
Received on 2013-08-09 22:17:48 CEST

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