You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David Chapman <dc...@acm.org> on 2011/12/07 17:47:35 UTC

Re: New to SVN

On 12/7/2011 8:16 AM, James Lopes wrote:
>
> I created a project in our repository and used import to load the 
> source code. Now my working folder has every icon that svn has any ideas?
>
>

You need to provide more details.  What were the commands you used to 
create the repository (if it did not already exist) and what were the 
commands you used to create the project and import the initial source 
code?  Finally, what do you mean by "every icon"?  Can you give us an 
example of an unexpected file name?

-- 
     David Chapman         dcchapman@acm.org
     Chapman Consulting -- San Jose, CA


Re: New to SVN

Posted by David Chapman <dc...@acm.org>.
On 12/7/2011 9:51 AM, James Lopes wrote:
>
> *From:*David Chapman [mailto:dcchapman@acm.org]
> *Sent:* Wednesday, December 07, 2011 11:48 AM
> *To:* James Lopes
> *Cc:* users@subversion.apache.org
> *Subject:* Re: New to SVN
>
> On 12/7/2011 8:16 AM, James Lopes wrote:
>
> I created a project in our repository and used import to load the 
> source code. Now my working folder has every icon that svn has any ideas?
>
>
> You need to provide more details.  What were the commands you used to 
> create the repository (if it did not already exist) and what were the 
> commands you used to create the project and import the initial source 
> code?  Finally, what do you mean by "every icon"?  Can you give us an 
> example of an unexpected file name?
>
> -- 
>      David Chapmandcchapman@acm.org  <ma...@acm.org>
>      Chapman Consulting -- San Jose, CA
>   
> Do I have to have my working folder and svn folder have the same name?
>

The ".svn" folder (for 1.6.x and earlier, folders) is created 
automatically when the working copy is created.  It is managed by 
Subversion and you should not modify anything in it.

-- 
     David Chapman         dcchapman@acm.org
     Chapman Consulting -- San Jose, CA


Re: New to SVN

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Case in point: the last two paragraphs you just wrote should be written
up somewhere other than the mailing list archives. :-P

Stefan Sperling wrote on Thu, Dec 08, 2011 at 12:21:42 +0100:
> On Thu, Dec 08, 2011 at 07:20:44AM +0000, Cooke, Mark wrote:
> > > Do I have to have my working folder and svn folder have the same name?
> > Did you read the [free!] link that I gave you yesterday?
> > [1] http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/index.html
> > 
> > [2] http://svnbook.red-bean.com/en/1.7/index.html
> 
> James, please read these links if you already haven't done so.
> Especially the first 2 chapters of the svnbook.
> 
> A lot of time and effort has been put into writing these texts.
> They generally provide much more comprehensive and better answers
> to basic questions than this list can.
> 
> It's fine to ask questions here if you don't understand something
> in the documentation, or if the documentation doesn't cover your
> question, or if you simply fail to locate the answer in the text (that
> happens to many, it's no big deal).
> But asking without consulting the documentation first amounts to asking
> people here to repeat work which others have already put into the docs.
> And generally the answers provided here will be terse and of lower didactic
> quality than a properly written text book.
> So while quickly mailing a question to the list and waiting for an answer
> might seem like quicker turnaround than reading through a book it is
> actually counter-productive for both your own learning experience as
> well as for those who explain things on this list again even though the
> documentation already covers the material.
> 
> I hope you understand this, and I hope you have fun learning and using
> Subversion! Feel free to keep asking if you don't understand something.
> But when doing so please try to point out where the docs are failing you
> so that we can improve them for the benefit of the entire user base. Thanks!

Re: New to SVN

Posted by Stefan Sperling <st...@elego.de>.
On Thu, Dec 08, 2011 at 07:20:44AM +0000, Cooke, Mark wrote:
> > Do I have to have my working folder and svn folder have the same name?
> Did you read the [free!] link that I gave you yesterday?
> [1] http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/index.html
> 
> [2] http://svnbook.red-bean.com/en/1.7/index.html

James, please read these links if you already haven't done so.
Especially the first 2 chapters of the svnbook.

A lot of time and effort has been put into writing these texts.
They generally provide much more comprehensive and better answers
to basic questions than this list can.

It's fine to ask questions here if you don't understand something
in the documentation, or if the documentation doesn't cover your
question, or if you simply fail to locate the answer in the text (that
happens to many, it's no big deal).
But asking without consulting the documentation first amounts to asking
people here to repeat work which others have already put into the docs.
And generally the answers provided here will be terse and of lower didactic
quality than a properly written text book.
So while quickly mailing a question to the list and waiting for an answer
might seem like quicker turnaround than reading through a book it is
actually counter-productive for both your own learning experience as
well as for those who explain things on this list again even though the
documentation already covers the material.

I hope you understand this, and I hope you have fun learning and using
Subversion! Feel free to keep asking if you don't understand something.
But when doing so please try to point out where the docs are failing you
so that we can improve them for the benefit of the entire user base. Thanks!

RE: New to SVN

Posted by "Cooke, Mark" <ma...@siemens.com>.
> > > On 12/7/2011 8:16 AM, James Lopes wrote: 
> > > 
> > > I created a project in our repository and used import to load 
> > > the source code. Now my working folder has every icon that 
> > > svn has any ideas?

> > You need to provide more details.  What were the commands you 
> > used to create the repository (if it did not already exist) 
> > and what were the commands you used to create the project and 
> > import the initial source code?  Finally, what do you mean by 
> > "every icon"?  Can you give us an example of an unexpected file name?

> Do I have to have my working folder and svn folder have the same name?

> Dave I thought I replied to everyone. The Tortoise ref was 
> from another reply which you didn't get because I didn't reply-to-all.
> 
> Well I found the solution to my problem, or at least my svn 
> is in a better state. I named the project in svn with a 
> different name that the folder used to load my project. After 
> renaming my working folder to the name of the svn folder and 
> deleting some folders in svn that should have been sourced. I 
> performed a Clean on my working folder and everything is working now.

Did you read the [free!] link that I gave you yesterday?  Both the TortoiseSVN manual [1] and the online subversion book [2] are pretty much essential reading if you want to get the most out of subversion (there is a lot of common material in both books but TortoiseSVN is IMO a slightly better reference for a windows user).  Read the introduction / fundamental concepts / basic usage sections.  Those sections don't take too long to read.

[1] http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/index.html

[2] http://svnbook.red-bean.com/en/1.7/index.html

In general, the root checkout folders do not have to have the same name; this allows you to have multiple local working copies if you need/want to work on several tasks at the same time.  Sub-folders will be named the same by the client when created and if you change any of the folder names the "wrong way" you will run into "conflicts"  This is all explained in the subversion book...

~ mark c

P.S. could you (bottom-)post in plain text?

RE: New to SVN

Posted by James Lopes <Jl...@bostonfinancial.com>.

From: James Lopes [mailto:Jlopes@bostonfinancial.com]
Sent: Wednesday, December 07, 2011 12:51 PM
To: David Chapman
Cc: users@subversion.apache.org
Subject: RE: New to SVN



From: David Chapman [mailto:dcchapman@acm.org]
Sent: Wednesday, December 07, 2011 11:48 AM
To: James Lopes
Cc: users@subversion.apache.org
Subject: Re: New to SVN

On 12/7/2011 8:16 AM, James Lopes wrote:
I created a project in our repository and used import to load the source code. Now my working folder has every icon that svn has any ideas?



You need to provide more details.  What were the commands you used to create the repository (if it did not already exist) and what were the commands you used to create the project and import the initial source code?  Finally, what do you mean by "every icon"?  Can you give us an example of an unexpected file name?

--

    David Chapman         dcchapman@acm.org<ma...@acm.org>

    Chapman Consulting -- San Jose, CA



Do I have to have my working folder and svn folder have the same name?


Dave I thought I replied to everyone. The Tortoise ref was from another reply which you didn't get because I didn't reply-to-all.
Well I found the solution to my problem, or at least my svn is in a better state. I named the project in svn with a different name that the folder used to load my project. After renaming my working folder to the name of the svn folder and deleting some folders in svn that should have been sourced. I performed a Clean on my working folder and everything is working now.


________________________________
Please consider the environment before printing this email.

--------------------------------------------------------------------------------------------------------------------

IMPORTANT NOTICE. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you received this communication in error. Any review, dissemination, distribution or copying of this communication is strictly prohibited. If you receive this communication in error please send a return e-mail, and then delete this message, together with any attachments.


--------------------------------------------------------------------------------------------------------------------

IMPORTANT NOTICE.  The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you received this communication in error.  Any review, dissemination, distribution or copying of this communication is strictly prohibited.  If you receive this communication in error please send a return e-mail, and then delete this message, together with any attachments.

RE: New to SVN

Posted by James Lopes <Jl...@bostonfinancial.com>.

From: David Chapman [mailto:dcchapman@acm.org]
Sent: Wednesday, December 07, 2011 11:48 AM
To: James Lopes
Cc: users@subversion.apache.org
Subject: Re: New to SVN

On 12/7/2011 8:16 AM, James Lopes wrote:
I created a project in our repository and used import to load the source code. Now my working folder has every icon that svn has any ideas?



You need to provide more details.  What were the commands you used to create the repository (if it did not already exist) and what were the commands you used to create the project and import the initial source code?  Finally, what do you mean by "every icon"?  Can you give us an example of an unexpected file name?


--

    David Chapman         dcchapman@acm.org<ma...@acm.org>

    Chapman Consulting -- San Jose, CA



Do I have to have my working folder and svn folder have the same name?

________________________________
Please consider the environment before printing this email.
--------------------------------------------------------------------------------------------------------------------

IMPORTANT NOTICE.  The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you received this communication in error.  Any review, dissemination, distribution or copying of this communication is strictly prohibited.  If you receive this communication in error please send a return e-mail, and then delete this message, together with any attachments.

RE: New to SVN

Posted by "Cooke, Mark" <ma...@siemens.com>.
> -----Original Message-----
> From: David Chapman [mailto:dcchapman@acm.org] 
> Sent: 07 December 2011 16:48
> To: James Lopes
> Cc: users@subversion.apache.org
> Subject: Re: New to SVN
> 
> > On 12/7/2011 8:16 AM, James Lopes wrote: 
> > 
> > I created a project in our repository and used import 
> > to load the source code. Now my working folder has every icon 
> > that svn has any ideas?
> 
> You need to provide more details.  What were the commands you 
> used to create the repository (if it did not already exist) 
> and what were the commands you used to create the project and 
> import the initial source code?  Finally, what do you mean by 
> "every icon"?  Can you give us an example of an unexpected file name?

Would I be right in thinking you are on windows and using TortoiseSVN?

If so, you are seeing icon overlays that tell you the subversion status of all your files, have a read of the user guide:

http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-wcstatus.html

There are other tools out there, for both windoze and *nix, that provide similar functionality, I just happen to use TortoiseSVN.

Also, please try to provide as much text info as you can, your original post is a bit vague!

~ mark c

RE: New to SVN

Posted by James Lopes <Jl...@bostonfinancial.com>.

From: David Chapman [mailto:dcchapman@acm.org]
Sent: Wednesday, December 07, 2011 12:15 PM
To: James Lopes; users@subversion.apache.org
Subject: Re: New to SVN

(The convention on this list is not to top-post.  Also, please "reply all" so that the entire conversation can be searched in the Subversion archives.)

On 12/7/2011 8:56 AM, James Lopes wrote:


From: David Chapman [mailto:dcchapman@acm.org]
Sent: Wednesday, December 07, 2011 11:48 AM
To: James Lopes
Cc: users@subversion.apache.org<ma...@subversion.apache.org>
Subject: Re: New to SVN

On 12/7/2011 8:16 AM, James Lopes wrote:
I created a project in our repository and used import to load the source code. Now my working folder has every icon that svn has any ideas?

You need to provide more details.  What were the commands you used to create the repository (if it did not already exist) and what were the commands you used to create the project and import the initial source code?  Finally, what do you mean by "every icon"?  Can you give us an example of an unexpected file name?
The repository had already been created I used Tortoise to create the project folder, then used it again to import the files to the project. Now some file have the red !, green check, no icon at all, a few have the blue ?. I also have folders that don't have an .svn subfolder. I can't add, update my changes.

For the most part, this is a TortoiseSVN question and is probably best directed to users@tortoisesvn.tigris.org<ma...@tortoisesvn.tigris.org>.  I don't use it, so I can't help with TortoiseSVN-specific questions.

If you are using Subversion 1.7.x under TortoiseSVN, the working copy format has changed and there will be only one .svn directory at the root of your working copy.  Furthermore, if your working copy already existed when the Subversion 1.7.x client was installed, it must be upgraded.

Ok thanks do I enter the >>?

--

    David Chapman         dcchapman@acm.org<ma...@acm.org>

    Chapman Consulting -- San Jose, CA

________________________________
Please consider the environment before printing this email.
--------------------------------------------------------------------------------------------------------------------

IMPORTANT NOTICE.  The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you received this communication in error.  Any review, dissemination, distribution or copying of this communication is strictly prohibited.  If you receive this communication in error please send a return e-mail, and then delete this message, together with any attachments.

Re: New to SVN

Posted by David Chapman <dc...@acm.org>.
(The convention on this list is not to top-post.  Also, please "reply 
all" so that the entire conversation can be searched in the Subversion 
archives.)

On 12/7/2011 8:56 AM, James Lopes wrote:
>
> *From:*David Chapman [mailto:dcchapman@acm.org]
> *Sent:* Wednesday, December 07, 2011 11:48 AM
> *To:* James Lopes
> *Cc:* users@subversion.apache.org
> *Subject:* Re: New to SVN
>
> On 12/7/2011 8:16 AM, James Lopes wrote:
>
> I created a project in our repository and used import to load the 
> source code. Now my working folder has every icon that svn has any ideas?
>
>
> You need to provide more details.  What were the commands you used to 
> create the repository (if it did not already exist) and what were the 
> commands you used to create the project and import the initial source 
> code?  Finally, what do you mean by "every icon"?  Can you give us an 
> example of an unexpected file name?
>
> The repository had already been created I used Tortoise to create the 
> project folder, then used it again to import the files to the project. 
> Now some file have the red !, green check, no icon at all, a few have 
> the blue ?. I also have folders that don't have an .svn subfolder. I 
> can't add, update my changes.
>

For the most part, this is a TortoiseSVN question and is probably best 
directed to users@tortoisesvn.tigris.org.  I don't use it, so I can't 
help with TortoiseSVN-specific questions.

If you are using Subversion 1.7.x under TortoiseSVN, the working copy 
format has changed and there will be only one .svn directory at the root 
of your working copy.  Furthermore, if your working copy already existed 
when the Subversion 1.7.x client was installed, it must be upgraded.

-- 
     David Chapman         dcchapman@acm.org
     Chapman Consulting -- San Jose, CA