Re: New To SVN

2013-08-23 Thread Stefan Sperling
On Fri, Aug 23, 2013 at 06:38:42PM +0530, Deepak Bhatia wrote:
> Hello,
> 
> Ok I created a repository by giving the absolute path to the directory.
> 
> svnadmin create --fs-type fsfs /home/deepak/public_html/svn2
> 
> Then importing a directory is giving the error
> 
> -bash-4.2$ svn import -m "New Import" . http://demo.voxomos.com/~deepak/svn2
> svn: Repository moved permanently to 'http://demo.voxomos.com/~deepak/svn2/';
> please relocate

How did you configure HTTPD for Subversion exactly?

You'll need to add a  statement to your httpd
configuration that maps a URL such as http://demo.voxomos.com/svn/
to the on-disk path /home/deepak/public_html/svn2.

Something like this:

 
   ...
   SVNPath /home/deepak/public_html/svn2
   ...
 

Then use the URL http://demo.voxomos.com/svn/ to access the repositories.

More details at http://svnbook.red-bean.com/en/1.7/svn.serverconfig.httpd.html


Re: New To SVN

2013-08-23 Thread Deepak Bhatia
Hello,

Ok I created a repository by giving the absolute path to the directory.

svnadmin create --fs-type fsfs /home/deepak/public_html/svn2

Then importing a directory is giving the error

-bash-4.2$ svn import -m "New Import" . http://demo.voxomos.com/~deepak/svn2
svn: Repository moved permanently to 'http://demo.voxomos.com/~deepak/svn2/';
please relocate


Deepak Bhatia
Software Consultant
Voxomos Systems Pvt. Limited
Mobile: 91 9811196957
C56A/27, Sector 62, NOIDA (NCR), UP, India
Skype: toreachdeepak


On Fri, Aug 23, 2013 at 6:17 PM, Stefan Sperling  wrote:

> On Fri, Aug 23, 2013 at 06:07:42PM +0530, Deepak Bhatia wrote:
> > Hello,
> >
> > I am able to create the repository using
> >
> > svnadmin create --fs-type fsfs http://demo/~deepak/svn
>
> 'svnadmin create' requires a local path to a directory that
> does not yet exist. It is supposed to be run on the SVN server itself.
> It cannot work over HTTP. You need command line access to the server.
>
> You've created a repository on your client computer in a directory
> which has a name that looks like a URL.
>
> Please see here for details:
> http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html
>
> > But the import of a directory is giving error
> >
> > -bash-4.2$ svn import -m "New import" /home/deepak/keyword_spotter
> > http://localhost/~deepak/svn
> > svn: Repository moved permanently to 'http://demo/~deepak/svn/';
> please
> > relocate
> >
> > Regards
> >
> > Deepak Bhatia
> > Software Consultant
> > Voxomos Systems Pvt. Limited
> > Mobile: 91 9811196957
> > C56A/27, Sector 62, NOIDA (NCR), UP, India
> > Skype: toreachdeepak
>


Re: New To SVN

2013-08-23 Thread Stefan Sperling
On Fri, Aug 23, 2013 at 06:07:42PM +0530, Deepak Bhatia wrote:
> Hello,
> 
> I am able to create the repository using
> 
> svnadmin create --fs-type fsfs http://demo/~deepak/svn

'svnadmin create' requires a local path to a directory that
does not yet exist. It is supposed to be run on the SVN server itself.
It cannot work over HTTP. You need command line access to the server.

You've created a repository on your client computer in a directory
which has a name that looks like a URL.

Please see here for details:
http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html

> But the import of a directory is giving error
> 
> -bash-4.2$ svn import -m "New import" /home/deepak/keyword_spotter
> http://localhost/~deepak/svn
> svn: Repository moved permanently to 'http://demo/~deepak/svn/'; please
> relocate
> 
> Regards
> 
> Deepak Bhatia
> Software Consultant
> Voxomos Systems Pvt. Limited
> Mobile: 91 9811196957
> C56A/27, Sector 62, NOIDA (NCR), UP, India
> Skype: toreachdeepak


New To SVN

2013-08-23 Thread Deepak Bhatia
Hello,

I am able to create the repository using

svnadmin create --fs-type fsfs http://demo/~deepak/svn

But the import of a directory is giving error

-bash-4.2$ svn import -m "New import" /home/deepak/keyword_spotter
http://localhost/~deepak/svn
svn: Repository moved permanently to 'http://demo/~deepak/svn/'; please
relocate

Regards

Deepak Bhatia
Software Consultant
Voxomos Systems Pvt. Limited
Mobile: 91 9811196957
C56A/27, Sector 62, NOIDA (NCR), UP, India
Skype: toreachdeepak


Re: New to SVN

2011-12-08 Thread Daniel Shahaf
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 +, 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

2011-12-08 Thread Stefan Sperling
On Thu, Dec 08, 2011 at 07:20:44AM +, 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

2011-12-07 Thread Cooke, Mark
> > > 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

2011-12-07 Thread James Lopes


From: James Lopes [mailto:jlo...@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:dcchap...@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 dcchap...@acm.org<mailto:dcchap...@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

2011-12-07 Thread David Chapman

On 12/7/2011 9:51 AM, James Lopes wrote:


*From:*David Chapman [mailto:dcchap...@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 chapmandcchap...@acm.org  <mailto:dcchap...@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 dcchap...@acm.org
Chapman Consulting -- San Jose, CA



RE: New to SVN

2011-12-07 Thread James Lopes


From: David Chapman [mailto:dcchap...@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 dcchap...@acm.org<mailto:dcchap...@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

2011-12-07 Thread James Lopes


From: David Chapman [mailto:dcchap...@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:dcchap...@acm.org]
Sent: Wednesday, December 07, 2011 11:48 AM
To: James Lopes
Cc: users@subversion.apache.org<mailto: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 us...@tortoisesvn.tigris.org<mailto:us...@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 dcchap...@acm.org<mailto:dcchap...@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

2011-12-07 Thread David Chapman
(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:dcchap...@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 us...@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 dcchap...@acm.org
Chapman Consulting -- San Jose, CA



RE: New to SVN

2011-12-07 Thread Cooke, Mark
> -Original Message-
> From: David Chapman [mailto:dcchap...@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

2011-12-07 Thread David Chapman

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 dcchap...@acm.org
Chapman Consulting -- San Jose, CA



New to SVN

2011-12-07 Thread James Lopes
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?



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.