[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: John Maher <JohnM_at_rotair.com>
Date: Wed, 24 Sep 2014 16:14:04 +0000

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2014_at_ryandesign.com]
Sent: Wednesday, September 24, 2014 11:58 AM
To: John Maher
Cc: Subversion Users
Subject: Re: subversion won’t add new files

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.

Thanks for your reply. Not sure why you wish to post opinions or think it's clear when the book says "Send changes from your working copy to the repository" when I make a change in my working copy and it is ignored. Don't take it personal if a user does not understand something. And just because you understand something does not make it clear. It just makes it clear to you.

But none the less, thank you for explaining the weird behavior, it was very helpful.

JM
Received on 2014-09-24 18:14:43 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.