svn export selected parts of svn:externals
Hello! I have a directory stuff with some files and a list of svn:external directories stuff/one/, stuff/two/ and so on. I want to svn export stuff with the files in it and only one of the svn:externals, not the others. I do not want to refer to the repository where the externals are located in, because the script that does the Svn export should not (need to) know where they are. I tried to svn export --depth files stuff svn export --depth infinity stuff/one, but this fails because this directory is not existent in the repository. Is it possible to svn export only one of several svn:external directories? Or should I export all and delete all the files I don't need? (I work with tortoise SVN 1.7's command line client on windows 7) With best regards Hartmut Niemann
SVN status code and server/client responses - quick questions
Hi All We're new to SVN. We think we got the basics but like to know more. We having been using SVN updates with Hudson and it uses the SVNkit as a SVN client. We notice that sometimes zip file is NOT updated from the SVN server. On another occasion, we're not sure why when someone checks in their jars, the SVN client sees that as a conflict. We could see that the SVN status code is not a U but a C or a M. We like to know 1) why is the zip file not updatable by the client 2) How does the server or the client determine the SVN status code and then determine its action whether to update or requires manual conflict resolution. 3) When the client shows an M or something else other than U, A or AU, do we have to worry about any conflicts not resolved. At this point, we know C is bad news. 4) How does AU differ from A; we see this when we do a fresh checkout. Thanks All Sincerely
Parmently removing directory from server to make space
Hi Team, We have configured the subversion on window system and using it since last year. Now our server is out of space and we decide to permanently remove few projects from server. We will keep these project in DVDs. I searched for this on web but not able to found any fruitful answer. I tried svn dump and svndumpfilter. Please help me with how I can permanently remove directory from server. I don't want to keep any revision or history of those directories. These directories have multiple level of sub-directories and files. I want to remove all. Folder structure: Database/E_Learning/Development/Project_1 Database/E_Learning/Development/Project_2 Database/E_Learning/Development/Project_3 Database/E_Learning/Development/Project_4 Database/E_Learning/Development/Project_5 Database/E_Learning/Development/Project_6 I want to delete Project 1 and 2. Subversion details: Setup-Subversion-1.6.6 Configured on: Window XP Apache: Version 2.0 Regards, Anil Kumar Bakshi Sr. Multimedia Programmer | Education and Learning Aptara, Inc. | Transforming Content into Knowledge anil.bak...@aptaracorp.com mailto:anil.bak...@aptaracorp.com | aptaracorp.com http://www.aptaracorp.com/ A-28, Mohan Cooperative Industrial Estate, Mathura Road | New Delhi - 110044 | India Mobile +91 9818907948
RE: Parmently removing directory from server to make space
You need to dump, filter and load your repositories to remove the directories you want rid of ... If your server is out of space you will likely run into issues though because the act of loading needs to be performed into a new repository which will result in you (temporarily) increasing your disk usage before you can remove the old repository. Anyway the process would be something like: # create the target repository svnadmin create /path/to/new-repository # dump the old repository, filter OUT the paths you want excluded load them to the new repo svnadmin dump /path/to/old-repository | \ svndumpfilter --drop-empty-revs --renumber-revs exclude \ Database/E_Learning/Development/Project_1 Database/E_Learning/Development/Project_2 | \ svnadmin load /path/to/new-repository Obviously YMMV and you should always test any advice provided on an open mailing list prior to applying to a production environment. Dg. -- David Griersonhttp://amsdatapp244.bskyb.com:8080/display/~DGR02/ - Tools Specialist Sky Broadcasting - Customer Business Systems - SDLC Tools Tel: +44 1506 325100 / Email: david.grier...@bskyb.commailto:david.grier...@bskyb.com / Chatter: CBS SDLC Toolshttps://bskyb.my.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F920008Z8b Watermark Building, Alba Campus, Livingston, EH54 7HH From: Anil Bakshi [mailto:anil.bak...@aptaracorp.com] Sent: 26 March 2013 07:25 To: users@subversion.apache.org Subject: Parmently removing directory from server to make space Hi Team, We have configured the subversion on window system and using it since last year. Now our server is out of space and we decide to permanently remove few projects from server. We will keep these project in DVDs. I searched for this on web but not able to found any fruitful answer. I tried svn dump and svndumpfilter. Please help me with how I can permanently remove directory from server. I don't want to keep any revision or history of those directories. These directories have multiple level of sub-directories and files. I want to remove all. Folder structure: Database/E_Learning/Development/Project_1 Database/E_Learning/Development/Project_2 Database/E_Learning/Development/Project_3 Database/E_Learning/Development/Project_4 Database/E_Learning/Development/Project_5 Database/E_Learning/Development/Project_6 I want to delete Project 1 and 2. Subversion details: Setup-Subversion-1.6.6 Configured on: Window XP Apache: Version 2.0 Regards, Anil Kumar Bakshi Sr. Multimedia Programmer | Education and Learning Aptara, Inc. | Transforming Content into Knowledge anil.bak...@aptaracorp.commailto:anil.bak...@aptaracorp.com | aptaracorp.comhttp://www.aptaracorp.com/ A-28, Mohan Cooperative Industrial Estate, Mathura Road | New Delhi - 110044 | India Mobile +91 9818907948 Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trade marks of British Sky Broadcasting Group plc and are used under licence. British Sky Broadcasting Limited (Registration No. 2906991), Sky Interactive Limited (Registration No. 3554332), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of British Sky Broadcasting Group plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD.
Re: compile just svnversion (in addition to the eclipse-plugin)
Daniel Shahaf d...@daniel.shahaf.name writes: Arno Steffens wrote on Mon, Mar 25, 2013 at 23:04:22 +0100: I use SVN inside eclipse, but this seems not to provide the svnversion functionality I need to make sure that my compiled code is identically to the checked in (with or without added M to version) Use svn status instead? Unfortunatly the svnpackage for my old Ubuntu isn't compatible to the newer required 1.7SVN with comes with eclipse. So I can't use this . Can someone give me a hint? Thanks! As already suggested: you might consider looking for other packages (or backports) before compiling it yourself. Getting another package is probably an easier solution, however... The Subversion libraries are binary compatible so the binary from the standard Ubuntu package should work with the libraries from the Eclipse package. Extract the binary and put it somewhere on your PATH. Ubuntu changes the so-version of the libsvn libraries, if the Eclipse package doesn't do the same you would need to create some library symlinks as well. -- Certified Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/download
RE: Parmently removing directory from server to make space
Thanks David, I tried the svndumpfilter with exclude command. Example: svndumpfilter exclude \database\E_Learning\Development\Project1 repo.dump filteredDump.dump It takes 1-2 hours. But after that repo.dump and filteredDump.dump have the same size. Both shows 86 GB. It will be great if can help me on this. I agree with you on testing advice first before implementing it. But sometimes even genius do silly mistakes. J Regards, Anil Kumar Bakshi Sr. Multimedia Programmer | Education and Learning Aptara, Inc. | Transforming Content into Knowledge anil.bak...@aptaracorp.com mailto:anil.bak...@aptaracorp.com | aptaracorp.com http://www.aptaracorp.com/ A-28, Mohan Cooperative Industrial Estate, Mathura Road | New Delhi - 110044 | India Mobile +91 9818907948 From: Grierson, David [mailto:david.grier...@bskyb.com] Sent: Tuesday, March 26, 2013 3:34 PM To: Anil Bakshi; users@subversion.apache.org Subject: RE: Parmently removing directory from server to make space You need to dump, filter and load your repositories to remove the directories you want rid of ... If your server is out of space you will likely run into issues though because the act of loading needs to be performed into a new repository which will result in you (temporarily) increasing your disk usage before you can remove the old repository. Anyway the process would be something like: # create the target repository svnadmin create /path/to/new-repository # dump the old repository, filter OUT the paths you want excluded load them to the new repo svnadmin dump /path/to/old-repository | \ svndumpfilter --drop-empty-revs --renumber-revs exclude \ Database/E_Learning/Development/Project_1 Database/E_Learning/Development/Project_2 | \ svnadmin load /path/to/new-repository Obviously YMMV and you should always test any advice provided on an open mailing list prior to applying to a production environment. Dg. -- David Grierson http://amsdatapp244.bskyb.com:8080/display/~DGR02/ - Tools Specialist Sky Broadcasting - Customer Business Systems - SDLC Tools Tel: +44 1506 325100 / Email: david.grier...@bskyb.com / Chatter: CBS SDLC Tools https://bskyb.my.salesforce.com/_ui/core/chatter/groups/GroupProfilePag e?g=0F920008Z8b Watermark Building, Alba Campus, Livingston, EH54 7HH From: Anil Bakshi [mailto:anil.bak...@aptaracorp.com] Sent: 26 March 2013 07:25 To: users@subversion.apache.org Subject: Parmently removing directory from server to make space Hi Team, We have configured the subversion on window system and using it since last year. Now our server is out of space and we decide to permanently remove few projects from server. We will keep these project in DVDs. I searched for this on web but not able to found any fruitful answer. I tried svn dump and svndumpfilter. Please help me with how I can permanently remove directory from server. I don't want to keep any revision or history of those directories. These directories have multiple level of sub-directories and files. I want to remove all. Folder structure: Database/E_Learning/Development/Project_1 Database/E_Learning/Development/Project_2 Database/E_Learning/Development/Project_3 Database/E_Learning/Development/Project_4 Database/E_Learning/Development/Project_5 Database/E_Learning/Development/Project_6 I want to delete Project 1 and 2. Subversion details: Setup-Subversion-1.6.6 Configured on: Window XP Apache: Version 2.0 Regards, Anil Kumar Bakshi Sr. Multimedia Programmer | Education and Learning Aptara, Inc. | Transforming Content into Knowledge anil.bak...@aptaracorp.com mailto:anil.bak...@aptaracorp.com | aptaracorp.com http://www.aptaracorp.com/ A-28, Mohan Cooperative Industrial Estate, Mathura Road | New Delhi - 110044 | India Mobile +91 9818907948 Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trade marks of British Sky Broadcasting Group plc and are used under licence. British Sky Broadcasting Limited (Registration No. 2906991), Sky Interactive Limited (Registration No. 3554332), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of British Sky Broadcasting Group plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in
Re: Parmently removing directory from server to make space
On Tue, Mar 26, 2013 at 03:53:11PM +0530, Anil Bakshi wrote: Thanks David, I tried the svndumpfilter with exclude command. Example: svndumpfilter exclude \database\E_Learning\Development\Project1 repo.dump filteredDump.dump Paths in Subversion reposiories use forward slashes, not backslashes. Try this: svndumpfilter exclude /database/E_Learning/Development/Project1 repo.dump filteredDump.dump
Re: Parmently removing directory from server to make space
On Mar 26, 2013, at 02:25, Anil Bakshi wrote: Now our server is out of space and we decide to permanently remove few projects from server. If your projects are in individual repositories, this is easy: archive these old projects' repositories to DVD, ideally in a future-proof format like a dumpfile, along with any special repository configuration files or hook scripts, then delete the repositories from the server. But if all your projects are in a single massive repository, then this is difficult. Permanently removing some repository contents is an oft-requested feature, but it is difficult to do at present, partly because it goes against the primary purpose of Subversion, which is to keep a complete and unaltered history of your changes. Understand that if you do manage to dump, filter, and load the parts of your old repository that you want to keep into a new repository, the new repository will (must) have a new UUID, meaning all existing working copies that your developers might have will need to be thrown away and new working copies checked out. Your developers need to either check in all their work before you perform this repository surgery, or will have to manually move their uncommitted work from their old working copies to new ones. If you have many developers, this can add up to a lot of inconvenience and a lot of wasted developer time. Consider whether it would be a more effective use of time and money to purchase additional storage space for the server. Hard drives are pretty cheap compared with the cost of developer time. You can use symlinks of individual revision files to allow a large repository to span more than one disk if necessary. Also consider whether new projects could be started as individual repositories from now on, instead of going into the single monolithic repository, to make these kinds of cleanup operations easier in the future. If you're doing repository surgery now, you could also think about splitting each project into its own repository now, so that you hopefully won't ever have to do this again.
Re: svn export selected parts of svn:externals
On Mar 26, 2013, at 02:46, Niemann, Hartmut wrote: I have a directory stuff with some files and a list of svn:external directories stuff/one/, stuff/two/ and so on. I want to svn export stuff with the files in it and only one of the svn:externals, not the others. I do not want to refer to the repository where the externals are located in, because the script that does the Svn export should not (need to) know where they are. I tried to svn export --depth files stuff svn export --depth infinity stuff/one, but this fails because this directory is not existent in the repository. Is it possible to svn export only one of several svn:external directories? Or should I export all and delete all the files I don't need? I don't think what you want is easily possible. You'll have to script it. You could export with all the externals and delete the ones you don't need, as you suggest. Or you could export with no externals at all, then manually export the ones you want. You say you don't want the script to need to know where the externals are located, but it doesn't need to: it can look it up from the svn:externals property using svn propget.
RE: Parmently removing directory from server to make space
Thanks Stefan, I will try with forward slashes. One more thing. In httpd.conf file. I have set the below variable. SVNParentPath C:\SVNData\svn So repo browser path is: http://delhicvs.ind.aptaracorp.com:8080/svn/database/E_Learning/Developm ent/Project1 Do I using the correct path in below example. svndumpfilter exclude /database/E_Learning/Development/Project1 repo.dump filteredDump.dump Regards, Anil Kumar Bakshi Sr. Multimedia Programmer | Education and Learning Aptara, Inc. | Transforming Content into Knowledge anil.bak...@aptaracorp.com | aptaracorp.com A-28, Mohan Cooperative Industrial Estate, Mathura Road | New Delhi - 110044 | India Mobile +91 9818907948 -Original Message- From: Stefan Sperling [mailto:s...@elego.de] Sent: Tuesday, March 26, 2013 3:57 PM To: Anil Bakshi Cc: Grierson, David; users@subversion.apache.org Subject: Re: Parmently removing directory from server to make space On Tue, Mar 26, 2013 at 03:53:11PM +0530, Anil Bakshi wrote: Thanks David, I tried the svndumpfilter with exclude command. Example: svndumpfilter exclude \database\E_Learning\Development\Project1 repo.dump filteredDump.dump Paths in Subversion reposiories use forward slashes, not backslashes. Try this: svndumpfilter exclude /database/E_Learning/Development/Project1 repo.dump filteredDump.dump
RE: Parmently removing directory from server to make space
Thanks Ryan, Your suggestions are really eye opener for me. I will follow the separate repository for each project. But now I am stuck. Regards, Anil Kumar Bakshi Sr. Multimedia Programmer | Education and Learning Aptara, Inc. | Transforming Content into Knowledge anil.bak...@aptaracorp.com | aptaracorp.com A-28, Mohan Cooperative Industrial Estate, Mathura Road | New Delhi - 110044 | India Mobile +91 9818907948 -Original Message- From: Ryan Schmidt [mailto:subversion-20...@ryandesign.com] Sent: Tuesday, March 26, 2013 4:05 PM To: Anil Bakshi Cc: users@subversion.apache.org Subject: Re: Parmently removing directory from server to make space On Mar 26, 2013, at 02:25, Anil Bakshi wrote: Now our server is out of space and we decide to permanently remove few projects from server. If your projects are in individual repositories, this is easy: archive these old projects' repositories to DVD, ideally in a future-proof format like a dumpfile, along with any special repository configuration files or hook scripts, then delete the repositories from the server. But if all your projects are in a single massive repository, then this is difficult. Permanently removing some repository contents is an oft-requested feature, but it is difficult to do at present, partly because it goes against the primary purpose of Subversion, which is to keep a complete and unaltered history of your changes. Understand that if you do manage to dump, filter, and load the parts of your old repository that you want to keep into a new repository, the new repository will (must) have a new UUID, meaning all existing working copies that your developers might have will need to be thrown away and new working copies checked out. Your developers need to either check in all their work before you perform this repository surgery, or will have to manually move their uncommitted work from their old working copies to new ones. If you have many developers, this can add up to a lot of inconvenience and a lot of wasted developer time. Consider whether it would be a more effective use of time and money to purchase additional storage space for the server. Hard drives are pretty cheap compared with the cost of developer time. You can use symlinks of individual revision files to allow a large repository to span more than one disk if necessary. Also consider whether new projects could be started as individual repositories from now on, instead of going into the single monolithic repository, to make these kinds of cleanup operations easier in the future. If you're doing repository surgery now, you could also think about splitting each project into its own repository now, so that you hopefully won't ever have to do this again.
Re: Parmently removing directory from server to make space
On Tue, Mar 26, 2013 at 04:14:38PM +0530, Anil Bakshi wrote: Thanks Stefan, I will try with forward slashes. One more thing. In httpd.conf file. I have set the below variable. SVNParentPath C:\SVNData\svn So repo browser path is: http://delhicvs.ind.aptaracorp.com:8080/svn/database/E_Learning/Developm ent/Project1 Do I using the correct path in below example. svndumpfilter exclude /database/E_Learning/Development/Project1 repo.dump filteredDump.dump I cannot tell exactly because you haven't provided the Location tatements of your httpd config that contains the SVNParentPath directive. Assuming you are using Location /svn, it seems the name of your repository is 'database'. Dump files contain only paths which are *inside* the repository, i.e. paths shown by a command such as: svn ls http://delhicvs.ind.aptaracorp.com:8080/svn/database It seems E_Learning is a directory in the root directory of the repository, so filtering the dump file should probably look like this: svndumpfilter exclude /E_Learning/Development/Project1 repo.dump filteredDump.dump However, if you were using Location /svn/database or Location /svn/database/E_Learning the paths inside the dump file would be different. If you don't really understand how this all works, I suggest that you create a small repository to test with and try out some commands until you understand their behaviour, and then tackle the time intensive task of filtering large dump files. This section of the book might also be useful: http://svnbook.red-bean.com/en/1.7/svn.reposadmin.maint.html#svn.reposadmin.maint.filtering
Re: compile just svnversion (in addition to the eclipse-plugin)
Philip Martin wrote on Tue, Mar 26, 2013 at 10:09:21 +: Daniel Shahaf d...@daniel.shahaf.name writes: Arno Steffens wrote on Mon, Mar 25, 2013 at 23:04:22 +0100: I use SVN inside eclipse, but this seems not to provide the svnversion functionality I need to make sure that my compiled code is identically to the checked in (with or without added M to version) Use svn status instead? Unfortunatly the svnpackage for my old Ubuntu isn't compatible to the newer required 1.7SVN with comes with eclipse. So I can't use this . Can someone give me a hint? Thanks! As already suggested: you might consider looking for other packages (or backports) before compiling it yourself. Getting another package is probably an easier solution, however... The Subversion libraries are binary compatible so the binary from the standard Ubuntu package should work with the libraries from the Eclipse package. Extract the binary and put it somewhere on your PATH. Ubuntu changes the so-version of the libsvn libraries, if the Eclipse package doesn't do the same you would need to create some library symlinks as well. IIUC, you are simply saying that instead of installing the 'subversion' package (which provides /usr/bin/svnversion), extracting the 'svnversion' binary from that package and adding it to $PATH should work. I agree, but I'm not sure how that simplifies things: the 'subversion' package contains little more than the binaries to begin with, so you won't save much by installing just parts of it. The interesting part is that you might be able to use the 'svn' binary from the *old* system, too. (ie, old binary and new libraries) This should work for every other client, but the cmdline client sometimes uses subversion/include/private/ functions --- which breaks this use-case (practically at the runtime linker, though that's not guaranteed).
Re: Parmently removing directory from server to make space
Anil Bakshi wrote on Tue, Mar 26, 2013 at 16:37:25 +0530: So I will go with your suggestion: svndumpfilter exclude /E_Learning/Development/Project1 repo.dump filteredDump.dump Please correct me. You might try this command: % grep -a '^Node-path:' repo.dump | head to see what paths inside the dump file look like. .oO ( maybe we should have an 'svndumpfilter info' command? I suppose it could basically cat the dumpfile, except: file reps would be omitted; dir reps would be omitted (unless we figure out something sensible to dowith them, eg 5 children); properties would be omitted (but in the future we could list propnames or propnames and propvalues). )
Re: svn export selected parts of svn:externals
Ryan Schmidt wrote on Tue, Mar 26, 2013 at 05:40:22 -0500: On Mar 26, 2013, at 02:46, Niemann, Hartmut wrote: I have a directory stuff with some files and a list of svn:external directories stuff/one/, stuff/two/ and so on. I want to svn export stuff with the files in it and only one of the svn:externals, not the others. I do not want to refer to the repository where the externals are located in, because the script that does the Svn export should not (need to) know where they are. I tried to svn export --depth files stuff svn export --depth infinity stuff/one, but this fails because this directory is not existent in the repository. Is it possible to svn export only one of several svn:external directories? Or should I export all and delete all the files I don't need? I don't think what you want is easily possible. You'll have to script it. You could export with all the externals and delete the ones you don't need, as you suggest. Or you could export with no externals at all, then manually export the ones you want. You say you don't want the script to need to know where the externals are located, but it doesn't need to: it can look it up from the svn:externals property using svn propget. Alternatively, on 1.7+, you can look for .svn directories instead of parsing the svn:externals property. Only the wc root and roots of externals will have .svn dirs.
svnsync bug ?
Hi all, I'm encountering the following issue while trying to set-up a mirror repository with svnsync. I setup my target repository, enable the pre-revprop-change hook I call svnsync init and then launch the sync svnsync init file://localhost/disk1/svn svn://lux-svn:13690/project/xtnet_svn svnsync sync file://localhost/disk1/svn Everything seems to run well : On the target I have, messages like: Copied properties for revision 1141. Committed revision 1142. Copied properties for revision 1142. Committed revision 1143. Copied properties for revision 1143. Committed revision 1144. Copied properties for revision 1144. Committed revision 1145. Copied properties for revision 1145. Committed revision 1146. Copied properties for revision 1146. It syncs up to the latest revision and finishes without any error. Then I realized that the target repository is much smaller than the original one (160 MB vs 2-3 GB...) Obviously, there is something missing... I also checked the server logs and have the following messages: 24806 2013-03-26T11:55:31.396831Z - - xtnet_svn replay /project/xtnet_svn r0 24806 2013-03-26T11:55:31.397589Z - - xtnet_svn replay /project/xtnet_svn r0 24806 2013-03-26T11:55:31.398072Z - - xtnet_svn replay /project/xtnet_svn r0 24806 2013-03-26T11:55:31.398659Z - - xtnet_svn replay /project/xtnet_svn r0 24806 2013-03-26T11:55:31.399250Z - - xtnet_svn replay /project/xtnet_svn r0 24806 2013-03-26T11:55:31.399925Z - - xtnet_svn replay /project/xtnet_svn r0 24806 2013-03-26T11:55:31.400525Z - - xtnet_svn replay /project/xtnet_svn r0 24806 2013-03-26T11:55:31.400996Z - - xtnet_svn replay /project/xtnet_svn r0 24806 2013-03-26T11:55:31.401628Z - - xtnet_svn replay /project/xtnet_svn r0 24806 2013-03-26T11:55:31.402210Z - - xtnet_svn replay /project/xtnet_svn r0 24806 2013-03-26T11:55:31.403046Z - - xtnet_svn replay /project/xtnet_svn r0 24806 2013-03-26T11:55:31.403882Z - - xtnet_svn replay /project/xtnet_svn r0 24806 2013-03-26T11:55:31.405095Z - - xtnet_svn replay /project/xtnet_svn r0 24806 2013-03-26T11:55:31.405573Z - - xtnet_svn replay /project/xtnet_svn r0 24806 2013-03-26T11:55:31.406093Z - - xtnet_svn replay /project/xtnet_svn r0 24806 2013-03-26T11:55:31.406563Z - - xtnet_svn replay /project/xtnet_svn r0 24806 2013-03-26T11:55:31.407067Z - - xtnet_svn replay /project/xtnet_svn r0 It seems that it is always replaying revision r0Looks like a bug but maybe I'm doing something wrong also... Any help would be appreciated... Source repository is hosted on RHEL5 (x86_64), SVN version 1.7.8 Target repository is Fedora Core 3 (i686), SVN version also 1.7.8 (built from sources with gcc-3.4.2) Thanks, Laurent
Re: Parmently removing directory from server to make space
On Tue, Mar 26, 2013 at 6:25 AM, Daniel Shahaf d...@daniel.shahaf.name wrote: Anil Bakshi wrote on Tue, Mar 26, 2013 at 16:37:25 +0530: So I will go with your suggestion: svndumpfilter exclude /E_Learning/Development/Project1 repo.dump filteredDump.dump Please correct me. You might try this command: % grep -a '^Node-path:' repo.dump | head to see what paths inside the dump file look like. .oO ( maybe we should have an 'svndumpfilter info' command? I suppose it could basically cat the dumpfile, except: file reps would be omitted; dir reps would be omitted (unless we figure out something sensible to dowith them, eg 5 children); properties would be omitted (but in the future we could list propnames or propnames and propvalues). ) If you want to change things, it would be nice to be able to give svndumpfilter a bunch of paths where projects start and have it split them into separate files in one pass - and to do something useful when a project was originally imported into the wrong location and them moved to the correct path. And perhaps mention the difficulty of this process in the beginning of the documentation/overview to discourage putting more than one project in a repo in the first place. -- Les Mikesell lesmikes...@gmail.com
Re: compile just svnversion (in addition to the eclipse-plugin)
Daniel Shahaf d...@daniel.shahaf.name writes: Philip Martin wrote on Tue, Mar 26, 2013 at 10:09:21 +: Getting another package is probably an easier solution, however... The Subversion libraries are binary compatible so the binary from the standard Ubuntu package should work with the libraries from the Eclipse package. Extract the binary and put it somewhere on your PATH. Ubuntu changes the so-version of the libsvn libraries, if the Eclipse package doesn't do the same you would need to create some library symlinks as well. IIUC, you are simply saying that instead of installing the 'subversion' package (which provides /usr/bin/svnversion), extracting the 'svnversion' binary from that package and adding it to $PATH should work. I agree, but I'm not sure how that simplifies things: the 'subversion' package contains little more than the binaries to begin with, so you won't save much by installing just parts of it. The problem, as I understand it, is that the new package doesn't contain an svnversion binary. The interesting part is that you might be able to use the 'svn' binary from the *old* system, too. (ie, old binary and new libraries) This should work for every other client, but the cmdline client sometimes uses subversion/include/private/ functions --- which breaks this use-case (practically at the runtime linker, though that's not guaranteed). That's what I am suggesting. Extract the svnversion binary from the old package that does provide it and use that binary with the new packages that don't provide it. -- Certified Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/download
RE: Parmently removing directory from server to make space
Thanks Stefan, Finally I am able to see the difference in size of filtered dump file. You really helped me lot. Thanks again. Regards, Anil Kumar Bakshi Sr. Multimedia Programmer | Education and Learning Aptara, Inc. | Transforming Content into Knowledge anil.bak...@aptaracorp.com | aptaracorp.com A-28, Mohan Cooperative Industrial Estate, Mathura Road | New Delhi - 110044 | India Mobile +91 9818907948 -Original Message- From: Stefan Sperling [mailto:s...@elego.de] Sent: Tuesday, March 26, 2013 4:29 PM To: Anil Bakshi Cc: Grierson, David; users@subversion.apache.org Subject: Re: Parmently removing directory from server to make space On Tue, Mar 26, 2013 at 04:14:38PM +0530, Anil Bakshi wrote: Thanks Stefan, I will try with forward slashes. One more thing. In httpd.conf file. I have set the below variable. SVNParentPath C:\SVNData\svn So repo browser path is: http://delhicvs.ind.aptaracorp.com:8080/svn/database/E_Learning/Develo pm ent/Project1 Do I using the correct path in below example. svndumpfilter exclude /database/E_Learning/Development/Project1 repo.dump filteredDump.dump I cannot tell exactly because you haven't provided the Location tatements of your httpd config that contains the SVNParentPath directive. Assuming you are using Location /svn, it seems the name of your repository is 'database'. Dump files contain only paths which are *inside* the repository, i.e. paths shown by a command such as: svn ls http://delhicvs.ind.aptaracorp.com:8080/svn/database It seems E_Learning is a directory in the root directory of the repository, so filtering the dump file should probably look like this: svndumpfilter exclude /E_Learning/Development/Project1 repo.dump filteredDump.dump However, if you were using Location /svn/database or Location /svn/database/E_Learning the paths inside the dump file would be different. If you don't really understand how this all works, I suggest that you create a small repository to test with and try out some commands until you understand their behaviour, and then tackle the time intensive task of filtering large dump files. This section of the book might also be useful: http://svnbook.red-bean.com/en/1.7/svn.reposadmin.maint.html#svn.reposad min.maint.filtering
Re: svnsync bug ?
KLOCK Laurent laurent.kl...@intrasoft-intl.com writes: It syncs up to the latest revision and finishes without any error. Then I realized that the target repository is much smaller than the original one (160 MB vs 2-3 GB...) Obviously, there is something missing... Various things are possible. There might be lots of shared content and the master might have rep-sharing disabled. The master might have lots of abandonded transactions. The master might have lots of exclusive file locks. You may have non-repository files located inside the master by accident. Look inside the repository directories and compare the size of the subdirectories. 24806 2013-03-26T11:55:31.407067Z - - xtnet_svn replay /project/xtnet_svn r0 It seems that it is always replaying revision r0Looks like a bug but maybe I'm doing something wrong also... svnserve logs the replay low water mark revision, rather then the revisions being replayed, so r0 is expected. (I'm not sure why we choose to log the low water mark revision.) -- Certified Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/download
Re: svnsync bug ?
Guten Tag KLOCK Laurent, am Dienstag, 26. März 2013 um 13:13 schrieben Sie: It syncs up to the latest revision and finishes without any error. Then I realized that the target repository is much smaller than the original one (160 MB vs 2-3 GB…) Obviously, there is something missing… This is not necessarily the case, depending on your repo content. New Repos start with enabled representation sharing for all content, which may have a huge impact in saving space in your case. Did you ever reload your source repository with newer versions of subversion? Compare the two rep-cache.db files of source and target repo, the latter may be significantly larger. Normally, if svnsync tells it copied and committed properties and revisions for other revisions than 0, it really did. Use svnadmin verify and/or dump to compare output with your source repo. 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...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
RE: svnsync bug ?
For sure, I don't have any non-repository directories in the master. No file locks neither on the master. When I wrote a lot of things are missing...I meant actually, there is nothing at all... When I list the content of the target with svn list file://localhost:/disk1/svn It is totally empty..even if a svnadmin verify lists all the revisions... The source contains also binaries files, if only the initial revision of them would have been copied over, the final target size would already be bigger I had a look at the revisions on both sides: On Master: [xtnet_svn@lux-svn db]$ cat revs/0/1 id: 0-1.0.r1/0 type: dir count: 0 cpath: /CDBuilder copyroot: 0 / PLAIN K 9 CDBuilder V 14 dir 0-1.0.r1/0 END ENDREP id: 0.0.r1/118 type: dir pred: 0.0.r0/17 count: 1 text: 1 67 38 38 32a886b862910eca56ed915a5e9ba57f cpath: / copyroot: 0 / _0.0.t0-0 add-dir false false /CDBuilder 118 242 On Target: [root@porfyra db]# cat revs/0/1 id: 0.0.r1/0 type: dir pred: 0.0.r0/17 count: 1 text: 0 0 4 4 2d2977d1c96f487abe4a1e202dd03b4e cpath: / copyroot: 0 / is-fresh-txn-root: y 0 140 root@porfyra db]# cat revs/0/1 id: 0.0.r1/0 type: dir pred: 0.0.r0/17 count: 1 text: 0 0 4 4 2d2977d1c96f487abe4a1e202dd03b4e cpath: / copyroot: 0 / is-fresh-txn-root: y 0 140 [root@porfyra db]# cat revs/0/2 id: 0.0.r2/0 type: dir pred: 0.0.r1/0 count: 2 text: 0 0 4 4 2d2977d1c96f487abe4a1e202dd03b4e cpath: / copyroot: 0 / is-fresh-txn-root: y 0 139 [root@porfyra db]# cat revs/0/3 id: 0.0.r3/0 type: dir pred: 0.0.r2/0 count: 3 text: 0 0 4 4 2d2977d1c96f487abe4a1e202dd03b4e cpath: / copyroot: 0 / is-fresh-txn-root: y 0 139 [root@porfyra db]# cat revs/0/4 id: 0.0.r4/0 type: dir pred: 0.0.r3/0 count: 4 text: 0 0 4 4 2d2977d1c96f487abe4a1e202dd03b4e cpath: / copyroot: 0 / is-fresh-txn-root: y 0 139 -Original Message- From: MARTIN PHILIP [mailto:codematt...@ntlworld.com] On Behalf Of Philip Martin Sent: mardi 26 mars 2013 14:08 To: KLOCK Laurent Cc: users@subversion.apache.org Subject: Re: svnsync bug ? KLOCK Laurent laurent.kl...@intrasoft-intl.com writes: It syncs up to the latest revision and finishes without any error. Then I realized that the target repository is much smaller than the original one (160 MB vs 2-3 GB...) Obviously, there is something missing... Various things are possible. There might be lots of shared content and the master might have rep-sharing disabled. The master might have lots of abandonded transactions. The master might have lots of exclusive file locks. You may have non-repository files located inside the master by accident. Look inside the repository directories and compare the size of the subdirectories. 24806 2013-03-26T11:55:31.407067Z - - xtnet_svn replay /project/xtnet_svn r0 It seems that it is always replaying revision r0Looks like a bug but maybe I'm doing something wrong also... svnserve logs the replay low water mark revision, rather then the revisions being replayed, so r0 is expected. (I'm not sure why we choose to log the low water mark revision.) -- Certified Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/download
Re: svnsync bug ?
KLOCK Laurent laurent.kl...@intrasoft-intl.com writes: When I wrote a lot of things are missing...I meant actually, there is nothing at all... When I list the content of the target with svn list file://localhost:/disk1/svn It is totally empty..even if a svnadmin verify lists all the revisions... Do you have path-based authz enabled on the master? Perhaps the user doing the sync doesn't have access? Or perhaps you used the wrong source URL in the svnsync init command and so didn't get the full repository? -- Certified Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/download
Aw: Re: compile just svnversion (in addition to the eclipse-plugin)
I finally extracted binary and some libs out of a newer Ubuntu version. Just 5 libs (sqlite, svn_delta, diff, subr, wc) hasn't been enough for this. A Linux guru super tip has been to just put this libs into some extra folder and call svnversion with a different LD_LIBRARY_PATH and copy just a shell script to the /usr/bin: #!/bin/sh export LD_LIBRARY_PATH=/home/user/svnfix/lib:$LD_LIBRARY_PATH /home/user/svnfix/svnversion $1 $2 $3 $4 Thanks all of you helping me with your ideas! Arno Gesendet: Dienstag, 26. März 2013 um 13:47 Uhr Von: Philip Martin philip.mar...@wandisco.com An: Daniel Shahaf d...@daniel.shahaf.name Cc: Arno Steffens e...@gmx.de, users@subversion.apache.org Betreff: Re: compile just svnversion (in addition to the eclipse-plugin) Daniel Shahaf d...@daniel.shahaf.name writes: Philip Martin wrote on Tue, Mar 26, 2013 at 10:09:21 +: Getting another package is probably an easier solution, however... The Subversion libraries are binary compatible so the binary from the standard Ubuntu package should work with the libraries from the Eclipse package. Extract the binary and put it somewhere on your PATH. Ubuntu changes the so-version of the libsvn libraries, if the Eclipse package doesn't do the same you would need to create some library symlinks as well. IIUC, you are simply saying that instead of installing the 'subversion' package (which provides /usr/bin/svnversion), extracting the 'svnversion' binary from that package and adding it to $PATH should work. I agree, but I'm not sure how that simplifies things: the 'subversion' package contains little more than the binaries to begin with, so you won't save much by installing just parts of it. The problem, as I understand it, is that the new package doesn't contain an svnversion binary. The interesting part is that you might be able to use the 'svn' binary from the *old* system, too. (ie, old binary and new libraries) This should work for every other client, but the cmdline client sometimes uses subversion/include/private/ functions --- which breaks this use-case (practically at the runtime linker, though that's not guaranteed). That's what I am suggesting. Extract the svnversion binary from the old package that does provide it and use that binary with the new packages that don't provide it. -- Certified Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/download
Re: svnsync bug ?
Guten Tag KLOCK Laurent, am Dienstag, 26. März 2013 um 14:38 schrieben Sie: When I list the content of the target with svn list file://localhost:/disk1/svn It is totally empty..even if a svnadmin verify lists all the revisions... This could indicate an error in your svnsync init call where you may have specified a directory in the source repo to sync, which only contains part of the data. In this case each revision is synced, but without any content outside the directory given to init. 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...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Re: svnsync bug ?
On Tue, Mar 26, 2013 at 8:54 AM, Thorsten Schöning tschoen...@am-soft.de wrote: Guten Tag KLOCK Laurent, am Dienstag, 26. März 2013 um 14:38 schrieben Sie: When I list the content of the target with svn list file://localhost:/disk1/svn It is totally empty..even if a svnadmin verify lists all the revisions... This could indicate an error in your svnsync init call where you may have specified a directory in the source repo to sync, which only contains part of the data. In this case each revision is synced, but without any content outside the directory given to init. Yes, I think you can even have a typo there with a path that doesn't even exist in the repository an svnsync will still go through the motions of syncing all the revisions and properties but you won't have any content. Is there any way to get something like an md5sum of the whole repo or per revision to make a comparison/verification of the content between the repos possible? -- Les Mikesell lesmikes...@gmail.com
Update externals - trunk - branch
Hello, When svn: external properties are updated on trunk, how can those updates be propagated to developer branches that are coming off the trunk? Is there a svn command I can run to “push” those updates? I tried svn update but that didn't do the job. Please advise. Amad.
RE: svnsync bug ?
No, I don't have path-based authz I double checked user authorizations and the URLs...everything is ok Still no luck -Original Message- From: MARTIN PHILIP [mailto:codematt...@ntlworld.com] On Behalf Of Philip Martin Sent: mardi 26 mars 2013 14:48 To: KLOCK Laurent Cc: users@subversion.apache.org Subject: Re: svnsync bug ? KLOCK Laurent laurent.kl...@intrasoft-intl.com writes: When I wrote a lot of things are missing...I meant actually, there is nothing at all... When I list the content of the target with svn list file://localhost:/disk1/svn It is totally empty..even if a svnadmin verify lists all the revisions... Do you have path-based authz enabled on the master? Perhaps the user doing the sync doesn't have access? Or perhaps you used the wrong source URL in the svnsync init command and so didn't get the full repository? -- Certified Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/download
Re: Parmently removing directory from server to make space
On 2013-03-26 12:25, Daniel Shahaf wrote: Anil Bakshi wrote on Tue, Mar 26, 2013 at 16:37:25 +0530: So I will go with your suggestion: svndumpfilter exclude /E_Learning/Development/Project1 repo.dump filteredDump.dump Please correct me. You might try this command: % grep -a '^Node-path:' repo.dump | head to see what paths inside the dump file look like. .oO ( maybe we should have an 'svndumpfilter info' command? I suppose it could basically cat the dumpfile, except: file reps would be omitted; dir reps would be omitted (unless we figure out something sensible to dowith them, eg 5 children); properties would be omitted (but in the future we could list propnames or propnames and propvalues). ) Here the script normalize-dump.py (in the svn tar file) comes is really handy. From my own experience with big dumps it is ways faster to process the dump with this script and then grep for Node-path/Node-copyfrom-path. Additional hint for Windows users: run svndumpfilter this way: python -u $path/svndumpfilter.py
Re: svnsync bug ?
KLOCK Laurent laurent.kl...@intrasoft-intl.com writes: I double checked user authorizations and the URLs...everything is ok Looking at that one of the lines you gave earlier: 24806 2013-03-26T11:55:31.396831Z - - xtnet_svn replay /project/xtnet_svn r0 I see you have chosen to mirror just the paths under /project/xtnet_svn in the repository rather than the whole repository. Since the repository itself is also called xtnet_svn I suspect you have used the wrong URL in the svnsync init command. -- Certified Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/download
RE: svnsync bug ?
Yes, just realized that Thanks a lot for your help and sorry for the inconvenience. Regards, Laurent -Original Message- From: MARTIN PHILIP [mailto:codematt...@ntlworld.com] On Behalf Of Philip Martin Sent: mardi 26 mars 2013 17:17 To: KLOCK Laurent Cc: users@subversion.apache.org Subject: Re: svnsync bug ? KLOCK Laurent laurent.kl...@intrasoft-intl.com writes: I double checked user authorizations and the URLs...everything is ok Looking at that one of the lines you gave earlier: 24806 2013-03-26T11:55:31.396831Z - - xtnet_svn replay /project/xtnet_svn r0 I see you have chosen to mirror just the paths under /project/xtnet_svn in the repository rather than the whole repository. Since the repository itself is also called xtnet_svn I suspect you have used the wrong URL in the svnsync init command. -- Certified Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/download
Re: svnsync bug ?
On Tue, Mar 26, 2013 at 11:18 AM, KLOCK Laurent laurent.kl...@intrasoft-intl.com wrote: Yes, just realized that Thanks a lot for your help and sorry for the inconvenience. Your issue does point out that it is easy to make this kind of mistake and impossible to detect it from the output of svnsync. Does anyone know if there is a way to know if any content is missing due to either authorization failures or path mismatches in a mirror other than doing complete checkouts and comparisons against the source? -- Les Mikesell lesmikes...@gmail.com
Re: svnsync bug ?
On Tue, Mar 26, 2013 at 11:53 AM, KLOCK Laurent laurent.kl...@intrasoft-intl.com wrote: Well, what was the most confusing for me and made me think about a possible bug is the constant logging of the low water mark revision The path I put in the init command didn't exist in the repository (it was the repository's path) so maybe there is a way to detect this. I did something similar long ago when my source repo was a lot smaller and it took a while to notice that I really didn't have the fairly current backup I thought I had. It would be nice to be more confident about that. -- Les Mikesell lesmikes...@gmail.com
Re: svnsync bug ?
On 03/26/2013 12:53 PM, KLOCK Laurent wrote: Well, what was the most confusing for me and made me think about a possible bug is the constant logging of the low water mark revision I agree. Choosing to log that rather than the replayed revision certainly violates the principle of least surprise. Worse (in my eyes, at least) is that svnserve alone is choosing to log this low-water-mark, while mod_dav_svn logs the actual replayed revision. That's just buggy. -- C. Michael Pilato cmpil...@collab.net CollabNet www.collab.net Enterprise Cloud Development signature.asc Description: OpenPGP digital signature
Re: Update externals - trunk - branch
Hmm, I wouldn't have expect that a merge would be needed to update a property value. Is there another way this can be accomplished? Our team is new to SVN and feeling its way around the tool. On Tue, Mar 26, 2013 at 10:12 AM, Stefan Sperling s...@elego.de wrote: On Tue, Mar 26, 2013 at 10:05:10AM -0500, C M wrote: Hello, When svn: external properties are updated on trunk, how can those updates be propagated to developer branches that are coming off the trunk? By using the 'svn merge' command. See http://svnbook.red-bean.com/en/1.7/svn.branchmerge.html
Re: svnsync bug ?
On 03/26/2013 01:24 PM, C. Michael Pilato wrote: On 03/26/2013 12:53 PM, KLOCK Laurent wrote: Well, what was the most confusing for me and made me think about a possible bug is the constant logging of the low water mark revision I agree. Choosing to log that rather than the replayed revision certainly violates the principle of least surprise. Worse (in my eyes, at least) is that svnserve alone is choosing to log this low-water-mark, while mod_dav_svn logs the actual replayed revision. That's just buggy. BTW, I'm testing a fix for this now, and will propose for backport to the next 1.7.x release too. -- C. Michael Pilato cmpil...@collab.net CollabNet www.collab.net Enterprise Cloud Development signature.asc Description: OpenPGP digital signature
Re: SvnServe with Windows AD Authendication
Hi JEO, Thanks, Could you please confirm below features is possible using Collabnet SVN with apache. My setup Details : Package Name : Collabnet Subversion Edge 1.7 which is include apache Issue : Only supporting to create SVN repository in root.Can't able to create secondary level repository. Example : Root is - CSVN Repository 1 : https://svnserver/svn/myrepo1- working copy Repository 2 : https://svnserver/svn/Projectname/myrepo2 - Not working https://svnserver/svn/Projectname/myrepo3 - Not working Your help is much appreciated. Regards Krishna From: Joseba Ercilla Olabarri joseba.erci...@gmail.com To: Krishnamoorthi Gopal krishnamoor...@vernal.is Cc: users@subversion.apache.org, Scott R. Keszler kesz...@srkconsulting.com Date: 03/11/2013 02:10 PM Subject: Re: SvnServe with Windows AD Authendication Hi all, Not sure but, could be svn+ssh:// configuring sshd to do LDAP authentication? -jeo El 11/03/2013 07:59, Krishnamoorthi Gopal krishnamoor...@vernal.is escribió: Hi Scott, Thanks for your information. Right now i don't have apache module in my subversion server.I am using subversion by running svnserve.exe as windows service. In this environment how can i integrate with AD with my subversion. Without apache it's possible to integrate..Please confirm? Regards Support Team. From: Scott R. Keszler kesz...@srkconsulting.com To: Krishnamoorthi Gopal krishnamoor...@vernal.is Cc: users@subversion.apache.org Date: 03/08/2013 08:00 PM Subject: Re: SvnServe with Windows AD Authendication It's possible, and actually fairly simple. http://lmgtfy.com/?q=subversion+apache+ldap+3268+active+directory yields lots of good links. You'll want to use port 3268 to talk to AD instead of the standard LDAP port 389; some of the links from the above will explain why. From: Krishnamoorthi Gopal krishnamoor...@vernal.is To: users@subversion.apache.org Sent: Thursday, March 7, 2013 11:58:56 AM Subject: SvnServe with Windows AD Authendication Hi Team, Is possible to integrate svnserve subversion ( SVN://) with Windows 2003 Active Directory for authentication? Could you please confirm. Regards Support Team. VERNALIS SYSTEMS EMAIL NOTICE - The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system. VERNALIS SYSTEMS EMAIL NOTICE - The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system. VERNALIS SYSTEMS EMAIL NOTICE - The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.
Re: SvnServe with Windows AD Authendication
On Tue, Mar 26, 2013 at 4:12 PM, Krishnamoorthi Gopal krishnamoor...@vernal.is wrote: Hi JEO, Thanks, Could you please confirm below features is possible using Collabnet SVN with apache. *My setup Details :* Package Name : Collabnet Subversion Edge 1.7 which is include apache *Issue :* Only supporting to create SVN repository in root.Can't able to create secondary level repository. *Example :* Root is - CSVN Repository 1 : https://svnserver/svn/myrepo1 - working copy Repository 2 : https://svnserver/svn/Projectname/myrepo2 - Not working https://svnserver/svn/Projectname/myrepo3 - Not working Your help is much appreciated. You cannot create an arbitrary folder name Projectname as mod_dav_svn does not support that. It will only serve repositories that live in the root of the folder specified in the SVNParentPath directive. -- Thanks Mark Phippard http://markphip.blogspot.com/
Re: Update externals - trunk - branch
On Tue, Mar 26, 2013 at 01:25:36PM -0500, C M wrote: Hmm, I wouldn't have expect that a merge would be needed to update a property value. Is there another way this can be accomplished? No, apart from editing the property on the branch manually. Our team is new to SVN and feeling its way around the tool. Trust me, running a merge that merges the revision which changed the svn:externals property is the way this is intended to be done by design. Below is an example which assumes a /trunk folder and a /branch folder which is a copy of /trunk, plus one working copy of each called 'trunk' and 'branch' respectively. We first go into the trunk working copy, and then create a new directory in the repository called /ext. This is defined as an external so that it appears in the trunk working copy at the path epsilon/ext. Next, the revision which defined the external at /trunk/epsilon is merged into the branch. For brackground info on 'svn merge' see 'svn help merge' and http://svnbook.red-bean.com/en/1.7/svn.branchmerge.html $ cd trunk $ ls alphabeta epsilon/ gamma/ $ svn ps svn:externals '^/' $ svn mkdir ^/ext -m add external dir to repos Committed revision 3. $ svn propset svn:externals '^/ext ext' epsilon property 'svn:externals' set on 'epsilon' $ svn up Updating '.': Fetching external item into 'epsilon/ext': External at revision 3. At revision 3. $ svn st M epsilon X epsilon/ext Performing status on external item at 'epsilon/ext': $ svn ci -m add external to epsilon Sendingepsilon Committed revision 4. $ cd ../branch/ # go to working copy of branch $ svn merge -c4 ^/trunk --- Merging r4 into '.': U epsilon --- Recording mergeinfo for merge of r4 into '.': U . $ svn diff Index: epsilon === --- epsilon (revision 2) +++ epsilon (working copy) Property changes on: epsilon ___ Added: svn:externals ## -0,0 +1 ## +^/ext ext Index: . === --- . (revision 2) +++ . (working copy) Property changes on: . ___ Added: svn:mergeinfo Merged /trunk:r4 $ svn ci -m merge r4 from trunk Sending. Sendingepsilon Committed revision 5. $ svn up Updating '.': Fetching external item into 'epsilon/ext': External at revision 5. At revision 5. $ svn st X epsilon/ext Performing status on external item at 'epsilon/ext': $
Re: SvnServe with Windows AD Authendication
Hi Mark, Thanks Is possible to achieve this features by adding any other modules in apache. Your help is much appreciated. Regards Support Team. From: Mark Phippard markp...@gmail.com To: Krishnamoorthi Gopal krishnamoor...@vernal.is Cc: Joseba Ercilla Olabarri joseba.erci...@gmail.com, users@subversion.apache.org Date: 03/27/2013 01:49 AM Subject: Re: SvnServe with Windows AD Authendication On Tue, Mar 26, 2013 at 4:12 PM, Krishnamoorthi Gopal krishnamoor...@vernal.is wrote: Hi JEO, Thanks, Could you please confirm below features is possible using Collabnet SVN with apache. My setup Details : Package Name : Collabnet Subversion Edge 1.7 which is include apache Issue : Only supporting to create SVN repository in root.Can't able to create secondary level repository. Example : Root is - CSVN Repository 1 : https://svnserver/svn/myrepo1 - working copy Repository 2 : https://svnserver/svn/Projectname/myrepo2 - Not working https://svnserver/svn/Projectname/myrepo3 - Not working Your help is much appreciated. You cannot create an arbitrary folder name Projectname as mod_dav_svn does not support that. It will only serve repositories that live in the root of the folder specified in the SVNParentPath directive. -- Thanks Mark Phippard http://markphip.blogspot.com/ VERNALIS SYSTEMS EMAIL NOTICE - The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.
Re: SvnServe with Windows AD Authendication
On Tue, Mar 26, 2013 at 4:27 PM, Krishnamoorthi Gopal krishnamoor...@vernal.is wrote: Hi Mark, Thanks Is possible to achieve this features by adding any other modules in apache. Your help is much appreciated If you want that behavior you have to edit the Apache configuration files and add a unique Location directive for each folder you want. Location /svn/Projectname1 SVNParentPath /repositories/Projectname1 ... /Location Location /svn/Projectname2 SVNParentPath /repositories/Projectname2 ... /Location Etc. You cannot do this via the SVN Edge web UI. You also will not be able to create repositories in these folders via the UI. -- Thanks Mark Phippard http://markphip.blogspot.com/
Re: SvnServe with Windows AD Authendication
Hi, Thanks you so much. Right now i am having more than 250 repository with format what described below. I am going to put entry for each repository what you suggest. Is this advisable Also i want to integrate svn with windows 2003 server.i hope you guide me . Thanks again. Regards Support Team. From: Mark Phippard markp...@gmail.com To: Krishnamoorthi Gopal krishnamoor...@vernal.is Cc: Joseba Ercilla Olabarri joseba.erci...@gmail.com, users@subversion.apache.org Date: 03/27/2013 02:05 AM Subject: Re: SvnServe with Windows AD Authendication On Tue, Mar 26, 2013 at 4:27 PM, Krishnamoorthi Gopal krishnamoor...@vernal.is wrote: Hi Mark, Thanks Is possible to achieve this features by adding any other modules in apache. Your help is much appreciated If you want that behavior you have to edit the Apache configuration files and add a unique Location directive for each folder you want. Location /svn/Projectname1 SVNParentPath /repositories/Projectname1 ... /Location Location /svn/Projectname2 SVNParentPath /repositories/Projectname2 ... /Location Etc. You cannot do this via the SVN Edge web UI. You also will not be able to create repositories in these folders via the UI. -- Thanks Mark Phippard http://markphip.blogspot.com/ VERNALIS SYSTEMS EMAIL NOTICE - The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.
Re: Re: compile just svnversion (in addition to the eclipse-plugin)
Arno Steffens wrote on Tue, Mar 26, 2013 at 14:54:09 +0100: I finally extracted binary and some libs out of a newer Ubuntu version. Just 5 libs (sqlite, svn_delta, diff, subr, wc) hasn't been enough for this. A Linux guru super tip has been to just put this libs into some extra folder and call svnversion with a different LD_LIBRARY_PATH and copy just a shell script to the /usr/bin: #!/bin/sh export LD_LIBRARY_PATH=/home/user/svnfix/lib:$LD_LIBRARY_PATH /home/user/svnfix/svnversion $1 $2 $3 $4 No offence to your guru, but that's better written like this: #!/bin/sh LD_LIBRARY_PATH=/home/user/svnfix/lib:$LD_LIBRARY_PATH /home/user/svnfix/svnversion $@ ... and unless it's a single-user system, it's a bad idea for /usr/bin binaries to refer a /home/user this way. Cheers Daniel Thanks all of you helping me with your ideas! Arno Gesendet: Dienstag, 26. März 2013 um 13:47 Uhr Von: Philip Martin philip.mar...@wandisco.com An: Daniel Shahaf d...@daniel.shahaf.name Cc: Arno Steffens e...@gmx.de, users@subversion.apache.org Betreff: Re: compile just svnversion (in addition to the eclipse-plugin) Daniel Shahaf d...@daniel.shahaf.name writes: Philip Martin wrote on Tue, Mar 26, 2013 at 10:09:21 +: Getting another package is probably an easier solution, however... The Subversion libraries are binary compatible so the binary from the standard Ubuntu package should work with the libraries from the Eclipse package. Extract the binary and put it somewhere on your PATH. Ubuntu changes the so-version of the libsvn libraries, if the Eclipse package doesn't do the same you would need to create some library symlinks as well. IIUC, you are simply saying that instead of installing the 'subversion' package (which provides /usr/bin/svnversion), extracting the 'svnversion' binary from that package and adding it to $PATH should work. I agree, but I'm not sure how that simplifies things: the 'subversion' package contains little more than the binaries to begin with, so you won't save much by installing just parts of it. The problem, as I understand it, is that the new package doesn't contain an svnversion binary. The interesting part is that you might be able to use the 'svn' binary from the *old* system, too. (ie, old binary and new libraries) This should work for every other client, but the cmdline client sometimes uses subversion/include/private/ functions --- which breaks this use-case (practically at the runtime linker, though that's not guaranteed). That's what I am suggesting. Extract the svnversion binary from the old package that does provide it and use that binary with the new packages that don't provide it. -- Certified Supported Apache Subversion Downloads: http://www.wandisco.com/subversion/download
Re: SvnServe with Windows AD Authendication
On Mar 26, 2013, at 15:49, Krishnamoorthi Gopal wrote: Right now i am having more than 250 repository with format what described below. I am going to put entry for each repository what you suggest. Is this advisable Subversion is flexible, so if this type of hierarchical arrangement makes the most sense to you, then you can certainly do that -- at the expense of having to maintain this configuration yourself in the Apache configuration file, instead of using the easier interface Subversion Edge makes available. Also i want to integrate svn with windows 2003 server.i hope you guide me . I'm not a Windows guy and am not familiar with the services that Windows 2003 Server provides. Could you explain in more detail in what ways you want Subversion to integrate with it?
svn merge --record-only reports extraneous paths
Hi, When running an 'svn merge -c', I get a particular set of paths updated with svn:mergeinfo. Fine, no issues with this. However, when running an 'svn merge -c --record-only', I get a far greater set of paths *reported* as updated, but they actually aren't. The paths that are report actually do have their own 'svn:mergeinfo' properties, but they don't get changes by the merge command (which I expected). I think the paths either need to be updated, or not displays. Using: svn 1.7.7 --- Daniel Becroft