Query on Subversion
Hi, I need to install subversion as a Network Repository on a Windows 2008 server. I have the following queries i) Does Subversion have separate versions for separate operating systems (unix, windows, linux) ? ii) Which version will be suitable in my case ? iii) Do I need to install any other software like Apache ? OR will it function OK with IIS ? iv) Any other advice that you think will be relevant . With Regards, Santanu Ghosh Tata Consultancy Services Ph:- +91-33-6636-8550 Mailto: santanu...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
Re: Query on Subversion
On Mon, Jul 23, 2012 at 4:10 PM, Santanu3 G wrote: > Hi, > I need to install subversion as a Network Repository on a Windows 2008 > server. I have the following queries > > i) Does Subversion have separate versions for separate operating systems > (unix, windows, linux) ? > Version is same , binaries differ based on OS ii) Which version will be suitable in my case ? > If you are starting fresh go for latest version which 1.7.x > iii) Do I need to install any other software like Apache ? OR will it > function OK with IIS ? > You would need to go for Apache, someone tried to make Subversion work over IIS I am not sure if that worked out well. > iv) Any other advice that you think will be relevant . > Read the docs and doing some searching helps as well and revert to list in case of any further questions. > With Regards, > Santanu Ghosh > Tata Consultancy Services > Ph:- +91-33-6636-8550 > Mailto: santanu...@tcs.com > Website: http://www.tcs.com > > Experience certainty. IT Services > Business Solutions > Outsourcing > > > =-=-= > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > -- Vishwajeet Singh +91-9657702154 | dextrou...@gmail.com | http://bootstraptoday.com Twitter: http://twitter.com/vishwajeets | LinkedIn: http://www.linkedin.com/in/singhvishwajeet
Re: Query on Subversion
Am 23.07.2012 12:57, schrieb vishwajeet singh: On Mon, Jul 23, 2012 at 4:10 PM, Santanu3 G wrote: iii) Do I need to install any other software like Apache ? OR will it function OK with IIS ? You would need to go for Apache, someone tried to make Subversion work over IIS I am not sure if that worked out well. Well, installing svnserve is another option. In any case, the SVN book (available online, too) is a good resource for most questions. Welcome! Uli ** Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932 ** Visit our website at http://www.dominolaser.com ** Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden. E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht verantwortlich. **
Re: Query on Subversion
Thanks a lot With Regards, Santanu Ghosh Tata Consultancy Services Ph:- +91-33-6636-8550 Mailto: santanu...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing -vishwajeet singh wrote: - To: Santanu3 G From: vishwajeet singh Date: 07/23/2012 04:28PM cc: users@subversion.apache.org Subject: Re: Query on Subversion On Mon, Jul 23, 2012 at 4:10 PM, Santanu3 G wrote: Hi, I need to install subversion as a Network Repository on a Windows 2008 server. I have the following queries i) Does Subversion have separate versions for separate operating systems (unix, windows, linux) ? Version is same , binaries differ based on OS ii) Which version will be suitable in my case ? If you are starting fresh go for latest version which 1.7.x iii) Do I need to install any other software like Apache ? OR will it function OK with IIS ? You would need to go for Apache, someone tried to make Subversion work over IIS I am not sure if that worked out well. iv) Any other advice that you think will be relevant . Read the docs and doing some searching helps as well and revert to list in case of any further questions. With Regards, Santanu Ghosh Tata Consultancy Services Ph:- +91-33-6636-8550 Mailto: santanu...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -- Vishwajeet Singh +91-9657702154 | dextrou...@gmail.com | http://bootstraptoday.com Twitter: http://twitter.com/vishwajeets | LinkedIn: http://www.linkedin.com/in/singhvishwajeet
Re: Query on Subversion
Thanks. With Regards, Santanu Ghosh Tata Consultancy Services Ph:- +91-33-6636-8550 Mailto: santanu...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing -Ulrich Eckhardt wrote: - To: users@subversion.apache.org From: Ulrich Eckhardt Date: 07/23/2012 04:33PM cc: santanu...@tcs.com Subject: Re: Query on Subversion Am 23.07.2012 12:57, schrieb vishwajeet singh: > On Mon, Jul 23, 2012 at 4:10 PM, Santanu3 G wrote: >> iii) Do I need to install any other software like Apache ? OR will it >> function OK with IIS ? >> > > You would need to go for Apache, someone tried to make Subversion work over > IIS I am not sure if that worked out well. > Well, installing svnserve is another option. In any case, the SVN book (available online, too) is a good resource for most questions. Welcome! Uli ** Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932 ** Visit our website at http://www.dominolaser.com ** Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden. E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht verantwortlich. ** =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
RE: Query on Subversion
> Hi, > I need to install subversion as a Network Repository on a Windows 2008 > server. I have the following queries > > i) Does Subversion have separate versions for separate operating systems > (unix, windows, linux) ? Subversion only releases code, not binaries. There are several people that do release binaries for specific OSes. > ii) Which version will be suitable in my case ? You should get the most recent. > iii) Do I need to install any other software like Apache ? OR will it > function OK > with IIS ? Yes or no. > iv) Any other advice that you think will be relevant . I highly recommend Subversion Edge. It includes all you need to setup and install subversion accessed via http using Apache. It also provides management tools to help you set up and secure repositories. BOb
How to import
Hello I'm trying to figure out how to use the import command in a windows environment. I'm reading the book but the documentation is unclear as is the help. Perhaps someone can clarify it for me. For example the help says: Import [PATH] URL I need to import from one path to another. A path can also be referred to as an URL. However when both terms are used in an example then that implies a difference. What's the difference? Or is there none? I see no explanation anywhere. Too bad neither the help nor the book explain what the command expects. I wish to add some files to their own folder called iERP_v2 under the Repositories (shared) folder but can't find any information on that at all. How do I create a folder? From the server? Is there a command? Will import do it? The svn server lives on host Vm006 which I also mapped to drive s. A repository exists (called Repositories) with folders in it that I created with VisualSVN. Unfortunately VisualSVN is inadequate for our needs so I need to learn the archaic commands. The code I wish to import lives on a mapped network drive; g. I tried issuing the command from the directory where the files reside: \\Vm006\RepositoriesFails Invalid URL '//vm006/Repositories' //Vm006/RepositoriesFails Invalid URL '//vm006/Repositories' \\Vm006\$e\Repositories Fails Error resolving case of '\\Vm006\$e\Repositories' //Vm006/$e/Repositories Fails Error resolving case of '\\Vm006\$e\Repositories' s:\Repositories Fails Invalid URL 'S:/Repositories' s:/Repositories Fails Invalid URL 'S:/Repositories' s:\Repositories\iERP_v2 Fails Invalid URL 'S:/Repositories/iERP_v2' s:/Repositories/iERP_v2 Fails Invalid URL 'S:/Repositories/iERP_v2' Then I tried changing directories to the SVN server but received the same results. svn import "g:\code\intuitive projects\projects" Vm006\Repositories Fails svn: E205000: Invalid URL 'Vm006/Repositories' etc. It seems to ignore what kind of slash is used but all the logical options failed so I tried the illogical ones also. They all failed. John Maher
Re: How to import
Guten Tag John Maher, am Montag, 23. Juli 2012 um 18:48 schrieben Sie: > Unfortunately VisualSVN is inadequate for our > needs so I need to learn the archaic commands. Try TortoiseSVN, right click oh the unversioned directory in your working directory and select import from Tortoise's menu. Meaning: No, you don't have to use CLI just because one tool doesn't fit your needs. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon.030-2 1001-310 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow
Re: How to import
On Mon, Jul 23, 2012 at 12:48 PM, John Maher wrote: > > Hello > > I'm trying to figure out how to use the import command in a windows > environment. I'm reading the book but the documentation is unclear as > is the help. Perhaps someone can clarify it for me. > > For example the help says: > Import [PATH] URL > > I need to import from one path to another. A path can also be referred > to as an URL. However when both terms are used in an example then that > implies a difference. What's the difference? Or is there none? I see > no explanation anywhere. Too bad neither the help nor the book explain > what the command expects. A PATH is always a local filesystem path. A URL is always a properly-formed URL. If your repository is not served via Apache or svnserve, then your URL starts with file:// instead of svn:// or http://. > I wish to add some files to their own folder called iERP_v2 under the > Repositories (shared) folder but can't find any information on that at > all. How do I create a folder? From the server? Is there a command? > Will import do it? > > The svn server lives on host Vm006 which I also mapped to drive s. A > repository exists (called Repositories) with folders in it that I > created with VisualSVN. Unfortunately VisualSVN is inadequate for our > needs so I need to learn the archaic commands. The code I wish to > import lives on a mapped network drive; g. I tried issuing the command > from the directory where the files reside: > \\Vm006\RepositoriesFails Invalid URL > '//vm006/Repositories' > //Vm006/RepositoriesFails Invalid URL > '//vm006/Repositories' > \\Vm006\$e\Repositories Fails Error resolving case of > '\\Vm006\$e\Repositories' > //Vm006/$e/Repositories Fails Error resolving case of > '\\Vm006\$e\Repositories' > s:\Repositories Fails Invalid URL 'S:/Repositories' > s:/Repositories Fails Invalid URL 'S:/Repositories' > s:\Repositories\iERP_v2 Fails Invalid URL > 'S:/Repositories/iERP_v2' > s:/Repositories/iERP_v2 Fails Invalid URL > 'S:/Repositories/iERP_v2' > > Then I tried changing directories to the SVN server but received the > same results. > > svn import "g:\code\intuitive projects\projects" Vm006\Repositories > Fails svn: E205000: Invalid URL 'Vm006/Repositories' > etc. > > It seems to ignore what kind of slash is used but all the logical > options failed so I tried the illogical ones also. They all failed. As noted above these should all fail because they are not URLs that you're import into - they're local filesystem paths. But let's take a step back here - it appears that you're using file:// access on a network share with (I assume) multiple other users. This is a recipe for failure and disaster. Set up a proper Subversion server using Apache or svnserve.
Re: How to import
Guten Tag John Maher, am Montag, 23. Juli 2012 um 18:48 schrieben Sie: > I need to import from one path to another. A path can also be referred > to as an URL. However when both terms are used in an example then that > implies a difference. What's the difference? The URL is the address of the rep to import in, most likely not local, starting with svn://, http(s)://,, svn+ssh:// etc., and the path is the path to the folder to impoert in the local file system. > I wish to add some files to their own folder called iERP_v2 under the > Repositories (shared) folder but can't find any information on that at > all. How do I create a folder? From the server? Is there a command? Both is possible, svn help add, svn help mkdir. > Will import do it? I'm not sure. > \\Vm006\RepositoriesFails Invalid URL > '//vm006/Repositories' > //Vm006/RepositoriesFails Invalid URL > '//vm006/Repositories' > \\Vm006\$e\Repositories Fails Error resolving case of > '\\Vm006\$e\Repositories' > //Vm006/$e/Repositories Fails Error resolving case of > '\\Vm006\$e\Repositories' > s:\Repositories Fails Invalid URL 'S:/Repositories' > s:/Repositories Fails Invalid URL 'S:/Repositories' > s:\Repositories\iERP_v2 Fails Invalid URL > 'S:/Repositories/iERP_v2' > s:/Repositories/iERP_v2 Fails Invalid URL > 'S:/Repositories/iERP_v2' You did never provide a valid URL. ;-) Look above for what a url is. > svn import "g:\code\intuitive projects\projects" Vm006\Repositories > Fails svn: E205000: Invalid URL 'Vm006/Repositories' > etc. No URL to the repo here, too. The repo is not just a directory, it's something like svn:// or maybe even file://. > It seems to ignore what kind of slash is used but all the logical > options failed so I tried the illogical ones also. They all failed. http://en.wikipedia.org/wiki/Uniform_resource_locator Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon.030-2 1001-310 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow
RE: How to import
@Thorsten: Thanks for taking the time to respond, I do appreciate it, I should provide more background. I did use tortoise. Then I lost a bunch of source code trying to do a merge probably because I didn't know what I was doing. I started with version 1. Branched for version 2. Enhanced version 1 then merged to version 2 and somehow killed the enhanced version 1. All I could get was old version 1 or new version 2 in effect prohibiting any more enhancements to version 1 (I didn't want to dig through version 2 to find the changes and put them back in version 1 with the release of version 2 so close). I have now completed version 2 and would like to get it under source code control without any code loss. That is why I wished to learn the command line version, it seems knowing how the CLI works will tell me how svn works better than a third party product. Am I right or wrong? Besides the book that I am reading only mentions command line options so it is incompatible with anything else. To top it off, I can get clarifications for the CLI here but the support for the other products stinks. Thanks for the link http://en.wikipedia.org/wiki/Uniform_resource_locator, however it indicates the problem I was trying to resolve earlier. Wikipedia claims a URL points to a resource on the internet. We don't store our repository on the internet. We store it on our intranet. So either we can't use the command line to import files, which seems unlikely. Or svn uses the term URL differently than Wikipedia, very likely. I have seen numerous instances where different sources use terms differently. What does the svn book (http://svnbook.red-bean.com/en/1.7/svn-book.pdf) mean when it uses the term? Actually I don't need to create a directory, I need to create a repository. Looking at the server now it looks like we have a separate repository for each project with folders such as branches, tags and files stored in the root so we can't use a repository for more than 1 project. Is this incorrect? So it looks like I need to create a repository before the import. I issued "svnadmin create" to make a new repository, and it succeeded but only when issued when the current directory was the repository directory. Actually it appears to succede anywhere, but I doubt the folders it creates are useable if they are not on the server. Import still fails though. See below. @Andy: Thanks for replying, but we do have a proper server set up using VisualSVN Server. But the problem remains. Also I would like to point out that it is not helpful to use a word in its own definition: A URL is always a properly-formed URL. That doesn't tell me much. Care to claify? Realizing I needed a new repository, I issued: svnadmin create iERP85_v2 WORKED!! svn import "g:/code/intuitive projects/projects" file://Vm006/Repositories/iERP85_v2 svn import "g:/code/intuitive projects/projects" svn://Vm006/Repositories/iERP85_v2 svn import "g:/code/intuitive projects/projects" http://Vm006/Repositories/iERP85_v2 All fail with "Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the --message (-m) or --file (-F) options" It appears that the import command has an undocumented required parameter, or something else is wrong, because when I provide the parameter I get different errors. import "g:/code/intuitive projects/projects" file://Vm006/Repositories/i erp_v2 -m "JPM" svn: E180001: Unable to connect to a repository at URL 'file://vm006/Repositories/ierp_v2' svn: E180001: Unable to open an ra_local session to URL svn: E180001: Unable to open repository 'file://vm006/Repositories/ierp_v2' import "g:/code/intuitive projects/projects" svn://Vm006/Repositories/iE RP85_v2 -m "JPM" svn: E730060: Unable to connect to a repository at URL 'svn://vm006/Repositories/iERP85_v2' svn: E730060: Can't connect to host 'vm006': A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. import "g:/code/intuitive projects/projects" http://Vm006/Repositories/i ERP85_v2 -m "JPM" svn: E175002: Unable to connect to a repository at URL 'http://vm006/Repositories/iERP85_v2' svn: E175002: OPTIONS of 'http://vm006/Repositories/iERP85_v2': could not connect to server (http://vm006) Thanks again for your time. John Maher
Re: How to import
On Mon, Jul 23, 2012 at 3:22 PM, John Maher wrote: > @Thorsten: Thanks for taking the time to respond, I do appreciate it, I > should provide more background. I did use tortoise. Then I lost a > bunch of source code trying to do a merge probably because I didn't know > what I was doing. I started with version 1. Branched for version 2. > Enhanced version 1 then merged to version 2 and somehow killed the > enhanced version 1. All I could get was old version 1 or new version 2 > in effect prohibiting any more enhancements to version 1 (I didn't want > to dig through version 2 to find the changes and put them back in > version 1 with the release of version 2 so close). I have now completed > version 2 and would like to get it under source code control without any > code loss. That is why I wished to learn the command line version, it > seems knowing how the CLI works will tell me how svn works better than a > third party product. Am I right or wrong? Besides the book that I am > reading only mentions command line options so it is incompatible with > anything else. To top it off, I can get clarifications for the CLI here > but the support for the other products stinks. > > Thanks for the link > http://en.wikipedia.org/wiki/Uniform_resource_locator, however it > indicates the problem I was trying to resolve earlier. Wikipedia claims > a URL points to a resource on the internet. We don't store our > repository on the internet. We store it on our intranet. So either we > can't use the command line to import files, which seems unlikely. Or > svn uses the term URL differently than Wikipedia, very likely. I have > seen numerous instances where different sources use terms differently. > What does the svn book (http://svnbook.red-bean.com/en/1.7/svn-book.pdf) > mean when it uses the term? > > Actually I don't need to create a directory, I need to create a > repository. Looking at the server now it looks like we have a separate > repository for each project with folders such as branches, tags and > files stored in the root so we can't use a repository for more than 1 > project. Is this incorrect? So it looks like I need to create a > repository before the import. I issued "svnadmin create" to make a new > repository, and it succeeded but only when issued when the current > directory was the repository directory. Actually it appears to succede > anywhere, but I doubt the folders it creates are useable if they are not > on the server. Import still fails though. See below. > > > > @Andy: Thanks for replying, but we do have a proper server set up using > VisualSVN Server. But the problem remains. Also I would like to point > out that it is not helpful to use a word in its own definition: A URL is > always a properly-formed URL. That doesn't tell me much. Care to > claify? The link Thorsten provided is the most helpful. Although you're fixating on the fact that it states "on the internet", URLs can point at anything (that has a defined protocol, anyway) on any network. Your company's intranet uses URLs extensively, the same as Google or any other website does - and it's not really "on the internet", is it? If you have a repository running with VisualSVN Server, then import into the repository using its HTTP URL. Not the way you're attempting now. > > Realizing I needed a new repository, I issued: > svnadmin create iERP85_v2 WORKED!! > > svn import "g:/code/intuitive projects/projects" > file://Vm006/Repositories/iERP85_v2 > svn import "g:/code/intuitive projects/projects" > svn://Vm006/Repositories/iERP85_v2 > svn import "g:/code/intuitive projects/projects" > http://Vm006/Repositories/iERP85_v2 > > > All fail with "Could not use external editor to fetch log message; > consider setting the $SVN_EDITOR environment variable or using the > --message (-m) or --file (-F) options" > > It appears that the import command has an undocumented required > parameter, or something else is wrong, because when I provide the > parameter I get different errors. No, nothing there is undocumented - the errors below are due to the fact that you're not pointing at a repository URL that is valid. > > import "g:/code/intuitive projects/projects" file://Vm006/Repositories/i > erp_v2 -m "JPM" > svn: E180001: Unable to connect to a repository at URL > 'file://vm006/Repositories/ierp_v2' > svn: E180001: Unable to open an ra_local session to URL > svn: E180001: Unable to open repository > 'file://vm006/Repositories/ierp_v2' Is \\VM006\Repositories a repository? Is \\VM006\Repositories\ierp_v2 a repository? > import "g:/code/intuitive projects/projects" svn://Vm006/Repositories/iE > RP85_v2 -m "JPM" > svn: E730060: Unable to connect to a repository at URL > 'svn://vm006/Repositories/iERP85_v2' > svn: E730060: Can't connect to host 'vm006': A connection attempt failed > because the connected party did not properly respond after a period of > time, or established connection failed because connected host has failed
Re: How to import
On Jul 23, 2012, at 14:22, John Maher wrote: > @Thorsten: Thanks for taking the time to respond, I do appreciate it, I > should provide more background. I did use tortoise. Then I lost a > bunch of source code trying to do a merge probably because I didn't know > what I was doing. I started with version 1. Branched for version 2. > Enhanced version 1 then merged to version 2 and somehow killed the > enhanced version 1. All I could get was old version 1 or new version 2 > in effect prohibiting any more enhancements to version 1 (I didn't want > to dig through version 2 to find the changes and put them back in > version 1 with the release of version 2 so close). I have now completed > version 2 and would like to get it under source code control without any > code loss. That is why I wished to learn the command line version, it > seems knowing how the CLI works will tell me how svn works better than a > third party product. Am I right or wrong? Besides the book that I am > reading only mentions command line options so it is incompatible with > anything else. To top it off, I can get clarifications for the CLI here > but the support for the other products stinks. Yes learning the command line is probably helpful both for your understanding of Subversion and in performing certain operations. > Thanks for the link > http://en.wikipedia.org/wiki/Uniform_resource_locator, however it > indicates the problem I was trying to resolve earlier. Wikipedia claims > a URL points to a resource on the internet. We don't store our > repository on the internet. We store it on our intranet. So either we > can't use the command line to import files, which seems unlikely. Or > svn uses the term URL differently than Wikipedia, very likely. I have > seen numerous instances where different sources use terms differently. > What does the svn book (http://svnbook.red-bean.com/en/1.7/svn-book.pdf) > mean when it uses the term? A URL identifies a resource on the Internet, or any other network (such as your intranet), or on your local computer. It always begins with a protocol (http, https, svn, svn+ssh, file), and continues with various optional parts, including hostname, port number, and path. > Actually I don't need to create a directory, I need to create a > repository. Looking at the server now it looks like we have a separate > repository for each project with folders such as branches, tags and > files stored in the root so we can't use a repository for more than 1 > project. Is this incorrect? A repository is a versioned filesystem. You can store whatever you want in it, whether that's a single project or all your projects or photos or mp3s or recipes. > So it looks like I need to create a > repository before the import. I issued "svnadmin create" to make a new > repository, and it succeeded but only when issued when the current > directory was the repository directory. That is correct. > Actually it appears to succede > anywhere, but I doubt the folders it creates are useable if they are not > on the server. Repositories are usable anywhere, but your server is probably only configured to use them from a particular location. > Realizing I needed a new repository, I issued: > svnadmin create iERP85_v2 WORKED!! > > svn import "g:/code/intuitive projects/projects" > file://Vm006/Repositories/iERP85_v2 > svn import "g:/code/intuitive projects/projects" > svn://Vm006/Repositories/iERP85_v2 > svn import "g:/code/intuitive projects/projects" > http://Vm006/Repositories/iERP85_v2 You need to know which server process, if any, you are running on your server. Are you running apache? If so, then an http or https URL is correct. Are you running svnserve? Then an svn URL is correct. Are you allowing svnserve to start automatically as a result of an ssh connection? If so then an svn+ssh URL is correct. If you do not know what the URL of your repository(ies) is you need to talk to whoever set up the server. > All fail with "Could not use external editor to fetch log message; > consider setting the $SVN_EDITOR environment variable or using the > --message (-m) or --file (-F) options" > > It appears that the import command has an undocumented required > parameter, or something else is wrong, because when I provide the > parameter I get different errors. All commands that add a revision to the repository (such as import or commit) require you to enter a commit message. If you do not provide one on the command line, Subversion tries to open your preferred editor for you. If you have not configured your command line environment to indicate what your preferred editor is, then Subversion prints the message you encountered. > import "g:/code/intuitive projects/projects" file://Vm006/Repositories/i > erp_v2 -m "JPM" > svn: E180001: Unable to connect to a repository at URL > 'file://vm006/Repositories/ierp_v2' > svn: E180001: Unable to open an ra_local session to URL > svn: E180001: Unable to
svn log shows all revs from repo, not so from WC
Hello. What might be the reason for 'svn log' not to show all revisions, but 'svn log file://path/to/repo' to show them all. The reason why I need to know this is that hg's convert extension seems to convert only those revisions that 'svn log' shows no matter whether I run it on a working copy or on repo. Regards, Angel Tsankov
Re: svn log shows all revs from repo, not so from WC
On Mon, Jul 23, 2012 at 4:08 PM, Angel Tsankov wrote: > Hello. > > What might be the reason for 'svn log' not to show all revisions, but 'svn > log file://path/to/repo' to show them all. The reason why I need to know > this is that hg's convert extension seems to convert only those revisions > that 'svn log' shows no matter whether I run it on a working copy or on > repo. Is your working copy checked out from the root of the repository?
unable to login to svn repo
Hi, I would really appreciate if someone can help with this simple creation of repository and accessing it. I am unable to login to SVN repository and keep getting "Authorization Failed" error message. Thank you. --- C:\Program Files\CollabNet\Subversion Server>svn co svn://172.20.212.6/u01/app/repo3 Authentication realm: repo3_realm Password for 'rkapur': Authentication realm: repo3_realm Username: harry Password for 'harry': svn: E170001: Authorization failed --- All I did was very simple steps as follows: 1) svnadmin create /u01/app/repo3 2) The content of file svnserve.conf are: [general] anon-access = none auth-access = write password-db = passwd authz-db = authz realm = My First Repository [sasl] 3) Contents of authz are: [groups] harry_and_sally = harry,sally # [/foo/bar] # harry = rw # &joe = r # * = [repository:/u01/app/repo3] @harry_and_sally = rw # * = r 4) Contents of passwd file are: [users] harry = harryssecret sally = sallyssecret Environment: n Red Hat Enterprise Linux Server release 6.2 (Santiago) --svnserve, version 1.6.11 (r934486) compiled May 31 2011, 05:46:33 Copyright (C) 2000-2009 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/). The following repository back-end (FS) modules are available: * fs_base : Module for working with a Berkeley DB repository. * fs_fs : Module for working with a plain file (FSFS) repository. Cyrus SASL authentication is available. IMPORTANT WARNING: Information contained in this email is intended for the use of the individual to whom it is addressed, and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is STRICTLY FORBIDDEN. If you have received this communication in error, please notify us immediately by return email and delete this document. Thank you.
Re: How to import
Guten Tag John Maher, am Montag, 23. Juli 2012 um 21:22 schrieben Sie: > @Thorsten: Thanks for taking the time to respond, I do appreciate it, I > should provide more background. I did use tortoise. Then I lost a > bunch of source code trying to do a merge probably because I didn't know > what I was doing. If you really only merged or more specific did "something" within Subversion, nothing was lost. It may just seem so due to a lack of basic knowledge, but especially with Tortoise it is really easy to get everythign back if you only have 3 revisions. > I started with version 1. Branched for version 2. > Enhanced version 1 then merged to version 2 and somehow killed the > enhanced version 1. Not with a merge from 1 to 2, you must hjave done something else, too, like deleting, merging 2 back to 1 or stuff like that. But again, nothing to worry about, just open the log in Tortoise for your problematic directory and see what actually has been done. Afterwards right click in the log on the revisions you want to revert and revert them. > All I could get was old version 1 or new version 2 > in effect prohibiting any more enhancements to version 1 (I didn't want > to dig through version 2 to find the changes and put them back in > version 1 with the release of version 2 so close). May it be that you didn't commit your enhancements in version 1, which would have resulted in version 3, which should get merged as version 4 into version 2. But in this case there wouldn't be anything to merge at all, because you didn't change anything. In fact, you should have reverted your working copy/enhancements to version 1 manually and Tortoise should have even warned you about that, I think. > I have now completed > version 2 and would like to get it under source code control without any > code loss. That is why I wished to learn the command line version, it > seems knowing how the CLI works will tell me how svn works better than a > third party product. Am I right or wrong? In my personal opinion I don' think this is correct. What you need to know are the basics, what is an import, how to create a repository, what is a commit, merge, how to revert changes etc. The CLI command for doing that is just unnecessary implementation detail, as for example Tortoise provides all those operations, only named differently, but if you read about the basics it's easy to map Tortoise names to svn operations. > Besides the book that I am > reading only mentions command line options so it is incompatible with > anything else. To top it off, I can get clarifications for the CLI here > but the support for the other products stinks. Subversion is Open Source, you can't really expect the developers to document each and any third party client which is out there. They provide a default implementation for a client, document it and more important the basis concepts of how to use Subversion and the rest is of course up to reader's abstraction skills. ;-) > Thanks for the link > http://en.wikipedia.org/wiki/Uniform_resource_locator, however it > indicates the problem I was trying to resolve earlier. Wikipedia claims > a URL points to a resource on the internet. We don't store our > repository on the internet. We store it on our intranet. It's all about the basics... What's the technical difference between "the Internet" and your intranet? There isn't any, it's all about protocols and standards. URLs are standards and how they are used ca differ in many ways. Even smartphones use URLs to be able to call people. > So either we > can't use the command line to import files, which seems unlikely. Or > svn uses the term URL differently than Wikipedia, very likely. There's always one more possibility: One itself doesn't understand the problem properly and this is the case with your problem. You just don't know what an URL is or is used for. > I have > seen numerous instances where different sources use terms differently. > What does the svn book > (http://svnbook.red-bean.com/en/1.7/svn-book.pdf) > mean when it uses the term? It means what Wikipedia describes. > Actually I don't need to create a directory, I need to create a > repository. It's all about background and basics than. ;-) > Looking at the server now it looks like we have a separate > repository for each project with folders such as branches, tags and > files stored in the root so we can't use a repository for more than 1 > project. Is this incorrect? No, having one repository per project with tags, branches and trunk is common sense and in most cases I prefer this setup. > So it looks like I need to create a > repository before the import. Didn't you say you already had "something" with version 1 and 2 where you did your mistakes? Sounds to me you could import in to that repo, too. > I issued "svnadmin create" to make a new > repository, and it succeeded but only when issued when the current > directory was the repository directory. I don't understand what you mean
Re: unable to login to svn repo
Guten Tag Kapur, Rajneesh, am Montag, 23. Juli 2012 um 22:45 schrieben Sie: > C:\Program Files\CollabNet\Subversion Server>svn co > svn://172.20.212.6/u01/app/repo3 > Authentication realm: repo3_realm > Password for 'rkapur': [...] > 4) Contents of passwd file are: > [users] > harry = harryssecret > sally = sallyssecret You can't login with rkapur without providing user credentials for this user in passwd. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon.030-2 1001-310 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow
Re: svn log shows all revs from repo, not so from WC
Guten Tag Angel Tsankov, am Montag, 23. Juli 2012 um 22:08 schrieben Sie: > What might be the reason for 'svn log' not to show all revisions, but > 'svn log file://path/to/repo' to show them all. The client command considers the directory in which it was executed and normally only shows history for all the current working directory. svn help log 1. Print the log messages for the URL corresponding to PATH (default: '.'). If specified, REV is the revision in which the URL is first looked up, and the default revision range is REV:1. If REV is not specified, the default revision range is BASE:1, since the URL might not exist in the HEAD revision. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon.030-2 1001-310 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow
RE: unable to login to svn repo
Adding users@ list as well. -Original Message- From: Kapur, Rajneesh Sent: Monday, July 23, 2012 6:52 PM To: 'Thorsten Schöning'; users@ Subject: RE: unable to login to svn repo I am using windows box to access SVN server and I think its the windows login user that I see as prompt but I don't have this user "rkapur" listed in SVN - authz or password file. I've also tried deleting .subversion directory on server and in windows C:\Users\rkapur\AppData\Roaming\Subversion as well. I have also tried putting rkapur user in those files and tried but I get same authentication error. I am able to work in SVN 1.2 version (in different box) but with newer SVN 1.6 or 1.7 I am getting this problem. I am sorry I am sure its my mistake somewhere but don't know what it is. Thanks for all your help. -raj. -Original Message- From: Thorsten Schöning [mailto:tschoen...@am-soft.de] Sent: Monday, July 23, 2012 5:42 PM To: users@ Subject: Re: unable to login to svn repo Guten Tag Kapur, Rajneesh, am Montag, 23. Juli 2012 um 22:45 schrieben Sie: > C:\Program Files\CollabNet\Subversion Server>svn co > svn://172.20.212.6/u01/app/repo3 > Authentication realm: repo3_realm > Password for 'rkapur': [...] > 4) Contents of passwd file are: > [users] > harry = harryssecret > sally = sallyssecret You can't login with rkapur without providing user credentials for this user in passwd. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon.030-2 1001-310 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow IMPORTANT WARNING: Information contained in this email is intended for the use of the individual to whom it is addressed, and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is STRICTLY FORBIDDEN. If you have received this communication in error, please notify us immediately by return email and delete this document. Thank you.
Subversion doesn't build Neon
Hi all I've been trying for a while now to make Subversion compile offline, and it looks like only the "apr", "apr-util", "serf" and "apr_memcache" external project subdirectories are taken into account - "neon" is missing. To verify: $ grep SVN_EXTERNAL_PROJECT_SUBDIRS configure The only workaround I've found is to manually compile and install neon, but comments in Makefile.in clearly indicate that it is one of the potential recursive targets: "# recursive targets to handle external projects (e.g. APR, Neon)" Expected fix: There should be a "$neon_found" section like for APR etc. in configure. Cheers, V
Re: svn log shows all revs from repo, not so from WC
On 07/23/2012 11:20 PM, Andy Levy wrote: On Mon, Jul 23, 2012 at 4:08 PM, Angel Tsankov wrote: Hello. What might be the reason for 'svn log' not to show all revisions, but 'svn log file://path/to/repo' to show them all. The reason why I need to know this is that hg's convert extension seems to convert only those revisions that 'svn log' shows no matter whether I run it on a working copy or on repo. Is your working copy checked out from the root of the repository? No, it's not, and this is why 'svn log' does not show all revisions. Thank you!
Re: Subversion doesn't build Neon
On Mon, Jul 23, 2012 at 9:32 AM, Victor Engmark wrote: > Hi all > > I've been trying for a while now to make Subversion compile offline, > and it looks like only the "apr", "apr-util", "serf" and > "apr_memcache" external project subdirectories are taken into account > - "neon" is missing. To verify: > > $ grep SVN_EXTERNAL_PROJECT_SUBDIRS configure > > The only workaround I've found is to manually compile and install > neon, but comments in Makefile.in clearly indicate that it is one of > the potential recursive targets: "# recursive targets to handle > external projects (e.g. APR, Neon)" > > Expected fix: There should be a "$neon_found" section like for APR > etc. in configure. I thought there was. Did you download and build neon locally, under the 'neon' subdirectory? Look at what the 'get-deps.sh' script does for an example of the layout it knows how to handle.
svn 1.7 client issues error on update of single file externals
Using subversion 1.7(.5), updating a working copy that has single file svn:externals results in an error, even if the update does indeed work. Bug, or am I doing something wrong? Details posted on stackoverflow.com (before I was aware of this mailing list): http://stackoverflow.com/questions/11615043/subversion-client-1-7-file-externals-update-error And the content of the above url: I have come across an error using svn update on a working copy folder with single file svn:externals. I wonder if there is a work-around for this, if I am doing something wrong, or if this is a bug in the client 1.7.x of subversion. The error occurs when calling svn update using subversion 1.7.5 (tried TortoiseSvn 1.7.7 and slikSvn 1.7.5) on a folder that has single file svn:externals. I'm tempted to say it's a bug in the subversion client, because the update does indeed occur, but it says it fails. For reference, the server side uses a very old version (1.1.4 [r13838]), but from what I know externals is a client "feature" so an old server should not be a problem. Besides, this workes well using subversion 1.6.x (client). This is the scenario I observe: 1. Checkout a project (that has single file svn:externals) svn checkout http://my/repo/projects/proj1 proj1 2. Browsing to the folder in my working copy with single file svn:externals. E.g. myFile.txt http://my/repo/components/comp1/myFile.txt 3. Executing svn update and I get the following output: Fetching external item into 'trunk\proj1\source\myFile.txt': : warning: W160016: Failure opening '/components/comp1/myFile.txt/myFile.txt' If change the svn:externals so that the local file has a different name, like below: my_file.txt http://my/repo/components/comp1/myFile.txt Then the error message in 3. becomes as below, so the the file after the last forward slash ('/') is the local version of the file. Fetching external item into 'trunk\proj1\source\myFile.txt': : warning: W160016: Failure opening '/components/comp1/myFile.txt/my_file.txt' Best regards, Aasmund B. Boe Texas Instruments Norway AS, Gaustadall?en 21, NO-0349 Oslo, Norway. Org. NO 980499480 MVA