Re: Moving an existing Repository to a newly created repository
Guten Tag Tech Geek, am Freitag, 24. Juni 2011 um 20:28 schrieben Sie: > I tried using export/import command and also SVN move command from > TSVN client but I am not able to figure out what's is the correct way > to do this. What you need is svnadmin dump and load and your process is not trivial because you have to checkout every working copy and will change every revision number of your projects after the first loaded one. You have to dump every project, load it into the new one, move every newly added content afte the last load using svn mv to a new project specific folder and continue with adding new projects. This way you won't get problems with the same folders between your projects which would block loading new content. What are the benefits of merging all your projects into one? Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig Telefon: Potsdam: 0331-743881-0 E-Mail: tschoen...@am-soft.de Web: http://www.am-soft.de AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow
Snow Leopard 10.6.7 showing wrong version on http://myserver/svn page
Hi, I've upgraded from 10.6's native version of 1.6.15 to 1.6.17 using .dmg as well as using MacPorts. I've followed the installers directions to update the envvars file on my remote server, as well .profile on the client side and vice, versa If I run snvserv --version on the server I get the correct version and if I run svn --version on the client side, I get the right version. However, when I navigate through a browser to http://myserver/svn ... the page shows 1.6.15 instead of 1.6.17. Does anybody know why and how to fix this? Am I really running 1.6.17 or is there something I am missing? -- View this message in context: http://old.nabble.com/Snow-Leopard-10.6.7-showing-wrong-version-on-http%3A--myserver-svn-page-tp31927810p31927810.html Sent from the Subversion Users mailing list archive at Nabble.com.
Re: Moving an existing Repository to a newly created repository
We are trying to reorganize some our projects and hence repositories so that it makes some kind of logical sense (naming wise). Our existing repository that we want to move i.e. ProjectA has very few commits (4 to 5) in it and we do not care if the revision numbers change as long as we have commit log history (even with new revision number). In any case, this is what has worked for me: svadmin create /var/lib/svn/Projects # Create new repo Projects svn mkdir /var/lib/svn/Projects/A -m "Creating home for Project A" svnadmin dump /var/lib/svn/ProjectA > ProjectA.dump #Dump ProjectA that we want to move svnadmin load --parent-dir A /var/lib/svn/Projects < ProjectA.dump Thank you all for your help!
svnsync issue - 'svn:entry:committed-date' is disallowed
Hi, We are trying to mirror some SVN repositories using svnsync. We are following the steps as outlined here - http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.replication However, some of the repositories run into this error svnsync: Storage of non-regular property 'svn:entry:committed-date' is disallowed through the repository interface, and could indicate a bug in your client Any help with regards to this issue would be appreciated. thank you, uv
Re: Snow Leopard 10.6.7 showing wrong version on http://myserver/svn page
On Jun 25, 2011, at 14:38, davmar wrote: > I've upgraded from 10.6's native version of 1.6.15 to 1.6.17 using .dmg as > well as using MacPorts. > I've followed the installers directions to update the envvars file on my > remote server, as well .profile on the client side and vice, versa If I run > snvserv --version on the server I get the correct version and if I run svn > --version on the client side, I get the right version. > > However, when I navigate through a browser to http://myserver/svn ... the > page shows 1.6.15 instead of 1.6.17. Does anybody know why and how to fix > this? Am I really running 1.6.17 or is there something I am missing? According to what you've told us, you're running the Subversion command line client 1.6.17, the Subversion svnserve server 1.6.17, and the Subversion mod_dav_svn Apache module 1.6.15. If you installed a new mod_dav_svn, you need to restart Apache for it to load that new version. If you've already restarted Apache and it still says 1.6.15, then you have not installed a new mod_dav_svn in a place where your Apache is looking for it. I don't know how the Subversion dmg installers work. I do know how Subversion works in MacPorts. It only installs mod_dav_svn if you ask for it (sudo port install subversion +mod_dav_svn), and it only works with the MacPorts apache2 server. It does not work with the Apache server built into Mac OS X.
Re: Snow Leopard 10.6.7 showing wrong version on http://myserver/svn page
Hey thanks Ryan for the quick response and clear description of the problem. What would you do in this case? Would I have to uninstall the native apache2 on the mac server and re-install using MacPorts. It sounds like it could be messy. Thanks, Dav Ryan Schmidt-80 wrote: > > On Jun 25, 2011, at 14:38, davmar wrote: > >> I've upgraded from 10.6's native version of 1.6.15 to 1.6.17 using .dmg >> as >> well as using MacPorts. >> I've followed the installers directions to update the envvars file on my >> remote server, as well .profile on the client side and vice, versa If I >> run >> snvserv --version on the server I get the correct version and if I run >> svn >> --version on the client side, I get the right version. >> >> However, when I navigate through a browser to http://myserver/svn ... the >> page shows 1.6.15 instead of 1.6.17. Does anybody know why and how to >> fix >> this? Am I really running 1.6.17 or is there something I am missing? > > According to what you've told us, you're running the Subversion command > line client 1.6.17, the Subversion svnserve server 1.6.17, and the > Subversion mod_dav_svn Apache module 1.6.15. > > If you installed a new mod_dav_svn, you need to restart Apache for it to > load that new version. > > If you've already restarted Apache and it still says 1.6.15, then you have > not installed a new mod_dav_svn in a place where your Apache is looking > for it. > > I don't know how the Subversion dmg installers work. I do know how > Subversion works in MacPorts. It only installs mod_dav_svn if you ask for > it (sudo port install subversion +mod_dav_svn), and it only works with the > MacPorts apache2 server. It does not work with the Apache server built > into Mac OS X. > > > > -- View this message in context: http://old.nabble.com/Snow-Leopard-10.6.7-showing-wrong-version-on-http%3A--myserver-svn-page-tp31927810p31928105.html Sent from the Subversion Users mailing list archive at Nabble.com.
Re: Snow Leopard 10.6.7 showing wrong version on http://myserver/svn page
On Jun 25, 2011, at 15:43, davmar wrote: > What would you do in this case? > Would I have to uninstall the native apache2 on the mac server and > re-install using MacPorts. > It sounds like it could be messy. What do you want to do? First of all I was not clear whether you were running Mac OS X (client version) or Mac OS X Server. If you're running Mac OS X (client version) and are using Apple's Apache, then there's almost no reason not to switch to MacPorts apache2. Simply turn off Apple's Apache in System Preferences > Sharing > Web Sharing, install the MacPorts subversion port with the +mod_dav_svn variant (which will also install MacPorts apache2), configure apache2 by editing /opt/local/apache2/conf/httpd.conf (possibly copying over any changes you had already made to Apple's Apache configuration file at /etc/apache2/httpd.conf), then start it with "sudo port load apache2". You do not need to (and should not) uninstall Apple's Apache (or any other software Apple provided with Mac OS X); MacPorts lives its own separate existence in /opt/local. For additional help using MacPorts, write to the macports-users mailing list. If you're running Mac OS X Server and are using Apple's Apache, then you have a harder decision, because Apple provides a lovely GUI for configuring Apache, which you would no longer be able to use if you switched to MacPorts apache2.
Re: Snow Leopard 10.6.7 showing wrong version on http://myserver/svn page
I used the .dmg installer on both the client Macs and the server Mac. The .dmg is advertised to come with "everything" needed for both. Yea, the Mac OSX Server GUI is why I decided to go with putting the repository on the server. As you asked, I would like to upgrade the server to 1.6.17. I've seen literature on-line about manual configurations. Is configuring the server the same as configuring the client version as you laid out below? Also there were other modules that needed to be flipped on through the GUI, as per directions found on the internet. Would I need to worry about those? Much appreciated, Dav Ryan Schmidt-80 wrote: > > > On Jun 25, 2011, at 15:43, davmar wrote: > >> What would you do in this case? >> Would I have to uninstall the native apache2 on the mac server and >> re-install using MacPorts. >> It sounds like it could be messy. > > What do you want to do? > > First of all I was not clear whether you were running Mac OS X (client > version) or Mac OS X Server. > > If you're running Mac OS X (client version) and are using Apple's Apache, > then there's almost no reason not to switch to MacPorts apache2. Simply > turn off Apple's Apache in System Preferences > Sharing > Web Sharing, > install the MacPorts subversion port with the +mod_dav_svn variant (which > will also install MacPorts apache2), configure apache2 by editing > /opt/local/apache2/conf/httpd.conf (possibly copying over any changes you > had already made to Apple's Apache configuration file at > /etc/apache2/httpd.conf), then start it with "sudo port load apache2". You > do not need to (and should not) uninstall Apple's Apache (or any other > software Apple provided with Mac OS X); MacPorts lives its own separate > existence in /opt/local. For additional help using MacPorts, write to the > macports-users mailing list. > > If you're running Mac OS X Server and are using Apple's Apache, then you > have a harder decision, because Apple provides a lovely GUI for > configuring Apache, which you would no longer be able to use if you > switched to MacPorts apache2. > > > > -- View this message in context: http://old.nabble.com/Snow-Leopard-10.6.7-showing-wrong-version-on-http%3A--myserver-svn-page-tp31927810p31928260.html Sent from the Subversion Users mailing list archive at Nabble.com.
Partial export
I use svn export to create a clean directory from my repository. Works great! Later though, I had found some bugs. So, I fixed them in my working copy, tested them and had some others verify my work. Then I committed them to my repository. Next thing, replace the files in the directory I created with export. Then I realized there was no automatic way to do it. I wound up with a crazy expression that works. Something like this: $cd my/working/copy $svn diff --summary -c1234 | cut -b9- | xargs -I% svn export % /my/target/directory/% OK so far, but it got me wondering... Is it worth submitting a feature request to add an option to the svn export command (e.g. --update or --replace or something better) which, when combined with a revision specification, export only those files that changed with respect to the revision specification? (without a revision specification, the new option would have no effect). What do others think? -- Gerald Britton
Re: Snow Leopard 10.6.7 showing wrong version on http://myserver/svn page
Hi, Yes, as I expected this is turning into a mess for someone who is unfamiliar with Apache2 and Subversion. Doesn't seem to be as easy as outlined above. I did follow the instructions listed but nothing really seems to be happening. ps -aef returns: 0 61079 1 0 0:00.01 ?? 0:00.01 /opt/local/bin/daemondo --label=apache2 --start-cmd /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start ; --stop-cmd /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper stop ; --restart-cmd /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart ; --pid=none That is about all I can tell you. Appreciate the help I received. Was wondering if anyone can pickup from here. D davmar wrote: > > I used the .dmg installer on both the client Macs and the server Mac. > The .dmg is advertised to come with "everything" needed for both. > > Yea, the Mac OSX Server GUI is why I decided to go with putting the > repository on the server. > > As you asked, I would like to upgrade the server to 1.6.17. I've seen > literature on-line about manual configurations. > Is configuring the server the same as configuring the client version as > you laid out below? > Also there were other modules that needed to be flipped on through the > GUI, as per directions found on the internet. > Would I need to worry about those? > > Much appreciated, > Dav > > > Ryan Schmidt-80 wrote: >> >> >> On Jun 25, 2011, at 15:43, davmar wrote: >> >>> What would you do in this case? >>> Would I have to uninstall the native apache2 on the mac server and >>> re-install using MacPorts. >>> It sounds like it could be messy. >> >> What do you want to do? >> >> First of all I was not clear whether you were running Mac OS X (client >> version) or Mac OS X Server. >> >> If you're running Mac OS X (client version) and are using Apple's Apache, >> then there's almost no reason not to switch to MacPorts apache2. Simply >> turn off Apple's Apache in System Preferences > Sharing > Web Sharing, >> install the MacPorts subversion port with the +mod_dav_svn variant (which >> will also install MacPorts apache2), configure apache2 by editing >> /opt/local/apache2/conf/httpd.conf (possibly copying over any changes you >> had already made to Apple's Apache configuration file at >> /etc/apache2/httpd.conf), then start it with "sudo port load apache2". >> You do not need to (and should not) uninstall Apple's Apache (or any >> other software Apple provided with Mac OS X); MacPorts lives its own >> separate existence in /opt/local. For additional help using MacPorts, >> write to the macports-users mailing list. >> >> If you're running Mac OS X Server and are using Apple's Apache, then you >> have a harder decision, because Apple provides a lovely GUI for >> configuring Apache, which you would no longer be able to use if you >> switched to MacPorts apache2. >> >> >> >> > > -- View this message in context: http://old.nabble.com/Snow-Leopard-10.6.7-showing-wrong-version-on-http%3A--myserver-svn-page-tp31927810p31929074.html Sent from the Subversion Users mailing list archive at Nabble.com.
Re: Snow Leopard 10.6.7 showing wrong version on http://myserver/svn page
On Jun 25, 2011, at 20:45, davmar wrote: > Yes, as I expected this is turning into a mess for someone who is unfamiliar > with Apache2 and > Subversion. Doesn't seem to be as easy as outlined above. > I did follow the instructions listed but nothing really seems to be > happening. > > ps -aef returns: > > 0 61079 1 0 0:00.01 ?? 0:00.01 /opt/local/bin/daemondo > --label=apache2 --start-cmd > /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start ; > --stop-cmd /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper > stop ; --restart-cmd > /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart ; > --pid=none > > That is about all I can tell you. > > Appreciate the help I received. > > Was wondering if anyone can pickup from here. Ok, so it looks like you're trying to switch over to using MacPorts for apache2, and that its daemondo wrapper is running. The macports-users may be a better mailing list to discuss this, as we're verging into off-topicness for the subversion users list, but I'll give it a quick go. Have you already stopped Apple's Apache 2 server using their GUI? Is MacPorts httpd itself also running? If not, that suggests there may be a problem with your httpd.conf. You could use /opt/local/apache2/bin/apachectl -t to run a syntax check on it. Or consult the logfiles in /opt/local/apache2/logs/ and see if there are any messages that look important.
Re: Snow Leopard 10.6.7 showing wrong version on http://myserver/svn page
You actually nailed the diagnosis but dav_svn_module doesn't seem to be doing its thing: I copied the entire httpd.conf from the Apple Apache2 into the MacPorts Apache2 instead of just editing it. So I am now have the MacPorts apache2 running but when typing in http://myserver/svn , I am not getting the svn page. I am getting the "It works!" page when typing in http://myserver. I have loaded the dav_svn_module and the authz_svn_module by editing the httpd.conf, the other modules were already being loaded. The syntax check , checks out ok now, but still no svn page happening. Thanks, D Ryan Schmidt-80 wrote: > > > On Jun 25, 2011, at 20:45, davmar wrote: > >> Yes, as I expected this is turning into a mess for someone who is >> unfamiliar >> with Apache2 and >> Subversion. Doesn't seem to be as easy as outlined above. >> I did follow the instructions listed but nothing really seems to be >> happening. >> >> ps -aef returns: >> >> 0 61079 1 0 0:00.01 ?? 0:00.01 /opt/local/bin/daemondo >> --label=apache2 --start-cmd >> /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start ; >> --stop-cmd >> /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper >> stop ; --restart-cmd >> /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart >> ; >> --pid=none >> >> That is about all I can tell you. >> >> Appreciate the help I received. >> >> Was wondering if anyone can pickup from here. > > Ok, so it looks like you're trying to switch over to using MacPorts for > apache2, and that its daemondo wrapper is running. The macports-users may > be a better mailing list to discuss this, as we're verging into > off-topicness for the subversion users list, but I'll give it a quick go. > Have you already stopped Apple's Apache 2 server using their GUI? Is > MacPorts httpd itself also running? If not, that suggests there may be a > problem with your httpd.conf. You could use > /opt/local/apache2/bin/apachectl -t to run a syntax check on it. Or > consult the logfiles in /opt/local/apache2/logs/ and see if there are any > messages that look important. > > > > -- View this message in context: http://old.nabble.com/Snow-Leopard-10.6.7-showing-wrong-version-on-http%3A--myserver-svn-page-tp31927810p31929171.html Sent from the Subversion Users mailing list archive at Nabble.com.
Re: Snow Leopard 10.6.7 showing wrong version on http://myserver/svn page
On Jun 25, 2011, at 21:34, davmar wrote: > I copied the entire httpd.conf from the Apple Apache2 into the MacPorts > Apache2 instead of just editing it. So I am now have the MacPorts apache2 > running but when typing in http://myserver/svn , I am not getting the svn > page. What are you getting instead? > I have loaded the dav_svn_module and the authz_svn_module by editing the > httpd.conf, the other modules were already being loaded. > > The syntax check , checks out ok now, but still no svn page happening. Show the Subversion-related portions of your httpd.conf file.
Re: Snow Leopard 10.6.7 showing wrong version on http://myserver/svn page
This is what I get when grep for dav or svn in the httpd.conf: bash-3.2$ cat httpd.conf | grep dav LoadModule dav_module modules/mod_dav.so LoadModule dav_fs_module modules/mod_dav_fs.so LoadModule dav_svn_module modules/mod_dav_svn.so Include conf/extra/httpd-dav.conf bash-3.2$ cat httpd.conf | grep svn LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so This the conf/extra/httpd-dav.conf, which I have not modified: bash-3.2$ cat httpd-dav.conf # # Distributed authoring and versioning (WebDAV) # # Required modules: mod_dav, mod_dav_fs, mod_setenvif, mod_alias # mod_auth_digest, mod_authn_file # # The following example gives DAV write access to a directory called # "uploads" under the ServerRoot directory. # # The User/Group specified in httpd.conf needs to have write permissions # on the directory where the DavLockDB is placed and on any directory where # "Dav On" is specified. DavLockDB "/opt/local/apache2/var/DavLock" Alias /uploads "/opt/local/apache2/uploads" Dav On Order Allow,Deny Allow from all AuthType Digest AuthName DAV-upload # You can use the htdigest program to create the password database: # htdigest -c "/opt/local/apache2/user.passwd" DAV-upload admin AuthUserFile "/opt/local/apache2/user.passwd" AuthDigestProvider file # Allow universal read-access, but writes are restricted # to the admin user. require user admin # # The following directives disable redirects on non-GET requests for # a directory that does not include the trailing slash. This fixes a # problem with several clients that do not appropriately handle # redirects for folders with DAV methods. # BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully BrowserMatch "MS FrontPage" redirect-carefully BrowserMatch "^WebDrive" redirect-carefully BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully BrowserMatch "^gnome-vfs/1.0" redirect-carefully BrowserMatch "^XML Spy" redirect-carefully BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully Ryan Schmidt-80 wrote: > > On Jun 25, 2011, at 21:34, davmar wrote: > >> I copied the entire httpd.conf from the Apple Apache2 into the MacPorts >> Apache2 instead of just editing it. So I am now have the MacPorts apache2 >> running but when typing in http://myserver/svn , I am not getting the svn >> page. > > What are you getting instead? > >> I have loaded the dav_svn_module and the authz_svn_module by editing the >> httpd.conf, the other modules were already being loaded. >> >> The syntax check , checks out ok now, but still no svn page happening. > > Show the Subversion-related portions of your httpd.conf file. > > > > > > -- View this message in context: http://old.nabble.com/Snow-Leopard-10.6.7-showing-wrong-version-on-http%3A--myserver-svn-page-tp31927810p31929253.html Sent from the Subversion Users mailing list archive at Nabble.com.
Re: Snow Leopard 10.6.7 showing wrong version on http://myserver/svn page
On Jun 25, 2011, at 22:09, davmar wrote: > This is what I get when grep for dav or svn in the httpd.conf: If you want http://myserver/svn to be served by mod_dav_svn, there's going to have to be a "" block somewhere that tells Apache to do that. Consult the Subversion documentation for what needs to go in that block.
Re: Snow Leopard 10.6.7 showing wrong version on http://myserver/svn page
Yea apologies about that Reading the docs now. Wouldn't have gotten to this point without your help though. I might need it again though. Thanks! D Ryan Schmidt-80 wrote: > > On Jun 25, 2011, at 22:09, davmar wrote: > >> This is what I get when grep for dav or svn in the httpd.conf: > > If you want http://myserver/svn to be served by mod_dav_svn, there's going > to have to be a "" block somewhere that tells Apache to do > that. Consult the Subversion documentation for what needs to go in that > block. > > > > > > -- View this message in context: http://old.nabble.com/Snow-Leopard-10.6.7-showing-wrong-version-on-http%3A--myserver-svn-page-tp31927810p31929293.html Sent from the Subversion Users mailing list archive at Nabble.com.
Re: Snow Leopard 10.6.7 showing wrong version on http://myserver/svn page
So it looks good now, the repository page is showing up (without the version though) but that is okay. Thanks again! I wanted to authenticate against my Open Directory LDAP server, the docs don't go over this and web seems to assume you will be using the native Mac GUI to do this, which took 3 clicks. Do you have any suggestions on this? Dav davmar wrote: > > Yea apologies about that > Reading the docs now. > Wouldn't have gotten to this point without your help though. > I might need it again though. > > Thanks! > D > > > Ryan Schmidt-80 wrote: >> >> On Jun 25, 2011, at 22:09, davmar wrote: >> >>> This is what I get when grep for dav or svn in the httpd.conf: >> >> If you want http://myserver/svn to be served by mod_dav_svn, there's >> going to have to be a "" block somewhere that tells Apache >> to do that. Consult the Subversion documentation for what needs to go in >> that block. >> >> >> >> >> >> > > -- View this message in context: http://old.nabble.com/Snow-Leopard-10.6.7-showing-wrong-version-on-http%3A--myserver-svn-page-tp31927810p31929388.html Sent from the Subversion Users mailing list archive at Nabble.com.