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

Re: subversion won’t add new files

From: Ryan Schmidt <subversion-2014_at_ryandesign.com>
Date: Wed, 24 Sep 2014 10:57:42 -0500

On Sep 24, 2014, at 10:54 AM, John Maher wrote:

> I issue svn commit -m "testing"
>
> I get
> Sending RotairUI_CertificatePrint\CertificatePrint.designer.vb
> Sending RotairUI_CertificatePrint\CertificatePrint.vb
> Sending RotairUI_CertificatePrint\My Project\Application.Designer.vb
> Sending RotairUI_CertificatePrint\My Project\Resources.Designer.vb
> Sending RotairUI_CertificatePrint\My Project\Settings.Designer.vb
> Sending RotairUI_CertificatePrint\RotairUI_CertificatePrint.vbproj
> Transmitting file data ......
> Committed revision 254.
>
> svn status
> ? RotairUI_CertificatePrint\FreeFormText.Designer.vb
> ? RotairUI_CertificatePrint\FreeFormText.resx
> ? RotairUI_CertificatePrint\FreeFormText.vb
>
> Those are files that did not get added. I add another one, "Form1".
>
> Build the project.
>
> Issue another commit.
> svn commit -m "testing"
> Sending RotairUI_CertificatePrint\RotairUI_CertificatePrint.vbproj
> Transmitting file data .
> Committed revision 255.
>
> svn status
> ? RotairUI_CertificatePrint\Form1.Designer.vb
> ? RotairUI_CertificatePrint\Form1.vb
> ? RotairUI_CertificatePrint\FreeFormText.Designer.vb
> ? RotairUI_CertificatePrint\FreeFormText.resx
> ? RotairUI_CertificatePrint\FreeFormText.vb
>
> Now I have even more files that subversion missed. I did not issue any add commands. Do I have to manually add files? I thought subversion was supposed to handle this. This is a change to my working copy that did not get incorporated into the repository. At one time it was adding files I did not want added. Now its ignoring files I want to add. Very confusing tool indeed.
>
> The book says this:
> Send changes from your working copy to the repository. If you do not supply a log message with your commit by using either the --file (-F) or --message (-m) option, svn will launch your editor for you to compose a commit message. See the editor-cmd list entry in the section called “Config”.
>
> Which gives me no information as if it should add new files or that is my job. Can someone tell me if it's my responsibility to add new files or subversion's?

Yes, you must "svn add" any files you want Subversion to add to the repository. It's not meant to be confusing... I found the book exceptionally clear and helpful in explaining how Subversion works and is meant to be used.
Received on 2014-09-24 17:58:16 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.