Re: Index of Subversion add-on projects and products
On Sun, Jun 12, 2011 at 12:44 AM, Mark Phippard markp...@gmail.com wrote: I recall there was at least one Wikipedia page that was fairly accurate. Sent from my iPhone On Jun 11, 2011, at 5:34 PM, Daniel Shahaf d...@daniel.shahaf.name wrote: Ryan Schmidt wrote on Fri, Jun 10, 2011 at 18:37:24 -0500: On Jun 10, 2011, at 17:09, k...@timpanisoftware.com k...@timpanisoftware.com wrote: I was wondering if there is some sort of global list of Subversion plug-ins, etc., including both open source projects and commercial products. For example, it would be nice if there was a unified list of all the different svn clients, integrations with build systems, etc. The Subversion project used to maintain such a list but it became unwieldy and was deleted. They now recommend you use Google to find such things. Or, you know, if someone in the community wants to maintain such a list themselves, there's no way (or want) for us to stop them from doing so... How much does 10KB of web space cost these days again? You can still find the last version of this list in the 1.6.x branch but it is gone from trunk: http://svn.apache.org/repos/asf/subversion/branches/1.6.x/www/links.html This page was supposed to be something of that sort: http://resourcey.com/site_details/17/subversion.apache.org/ Anyone may add and rank resources.
Re: svn / Apache installation question
On Thu, Oct 7, 2010 at 10:10 AM, Cooke, Mark mark.co...@siemens.com wrote: Folks, I use apache to host subversion and all seems to be working. However, I happened to read the TortoiseSVN help file this morning and noticed the following: 4. Copy the file /bin/libdb*.dll and /bin/intl3_svn.dll from the Subversion installation directory to the Apache bin directory. [1] I checked and these files are not in the apache bin directory but nothing seems broken! Is this advice incorrect / out-of-date or is something broken that I have not noticed yet? Many thanks for any insights, ~ mark c [1] http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup-apac he.htmlhttp://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup-apac%0Ahe.html under Installing Subversion I think that if the Subversion/bin directory is in your PATH environment variable, you can skip the copy, since the DLLs will be found in svn/bin when it is needed by Apache.
Re: Checked Subversions code with cppcheck
On Thu, Oct 7, 2010 at 5:04 PM, Philipp Kloke philipp.kl...@web.de wrote: ?I am not sure if I am answering correctly (because I usually do not use mailing lists, I just selected the Answer to all button of my mail program), but I hope so. I now checked the code again, but with a newer version of cppcheck. The results are in the attachement. If you would like to try to check the code by yourself, see https://sourceforge.net/projects/cppcheck/ (the tool is very easy to use) I wonder - it seems that Subversion is covered by static-analysis from scan.coverity (http://scan.coverity.com/rungAll.html), which is a powerful commercial analysis tool (not affiliated), but the cppcheck report posted here has stuff that are surely detected by coverity... Are the dev's really using the reports from scan.coverity?
Re: Subversion 1.6.13 Released
On Sun, Oct 3, 2010 at 10:11 AM, David Darj z...@alagazam.net wrote: You can get my build on http://alagazam.net /David David, Thanks for the binaries. Any chance you get build also x64 packages? (especially bindings and .so modules) Thanks, Itamar. On 2010-10-02 14:36, Sjoerd Kivits wrote: Hi, Is it possible to download windows binaries for subversion server somewhere? I could only find packages including apache and so on... Brg, Sjoerd -Oorspronkelijk bericht- Van: hy...@hyrumwright.org namens Hyrum Wright Verzonden: vr 1-10-2010 19:12 Aan: announce Onderwerp: Subversion 1.6.13 Released I'm happy to announce Subversion 1.6.13, available from: http://subversion.tigris.org/downloads/subversion-1.6.13.tar.bz2 http://subversion.tigris.org/downloads/subversion-1.6.13.tar.gz http://subversion.tigris.org/downloads/subversion-1.6.13.zip http://subversion.tigris.org/downloads/subversion-deps-1.6.13.tar.bz2 http://subversion.tigris.org/downloads/subversion-deps-1.6.13.tar.gz http://subversion.tigris.org/downloads/subversion-deps-1.6.13.zip This is a bugfix release, part of the 1.6.x release series. Of note, this release includes a fix which addresses CVE-2010-3315, a security issue when using 'SVNPathAuthz short_circuit'. More information can be found here: http://subversion.apache.org/security/CVE-2010-3315-advisory.txt The MD5 checksums are: 7ae1c827689f21cf975804005be30aeb subversion-1.6.13.tar.bz2 8451f5d771edc0a0302bd9a52d54e150 subversion-1.6.13.tar.gz dd4009b239a5354b434e5f66cddde145 subversion-1.6.13.zip 2a7d662bac872c61a5e11c89263d7f07 subversion-deps-1.6.13.tar.bz2 688bdb107731f9db2f3b6297b663a68d subversion-deps-1.6.13.tar.gz bb960d37f835e5e556e23e4eb85a9b08 subversion-deps-1.6.13.zip The SHA1 checksums are: 185efd129c3c4b04f1544d62bb9a3fcd0f58ba29 subversion-1.6.13.tar.bz2 06d3afc49182c80ea712c13409c008d27a4e889b subversion-1.6.13.tar.gz 6530528fae0335cd8495ebf1f2072e2dd9df2e31 subversion-1.6.13.zip e51bffda416a3a9abe068aab6f90d174dedef352 subversion-deps-1.6.13.tar.bz2 1faa5ba0c87210f534ed445d061e4955396524d4 subversion-deps-1.6.13.tar.gz 945ef9f68998aedf320af50d220e47a470684a06 subversion-deps-1.6.13.zip PGP Signatures are available at: http://subversion.tigris.org/downloads/subversion-1.6.13.tar.bz2.asc http://subversion.tigris.org/downloads/subversion-1.6.13.tar.gz.asc http://subversion.tigris.org/downloads/subversion-1.6.13.zip.asc http://subversion.tigris.org/downloads/subversion-deps-1.6.13.tar.bz2.asc http://subversion.tigris.org/downloads/subversion-deps-1.6.13.tar.gz.asc http://subversion.tigris.org/downloads/subversion-deps-1.6.13.zip.asc For this release, the following people have provided PGP signatures: Senthil Kumaran S [1024D/6CCD4038] with fingerprint: 8035 16A5 1D6E 50E2 1ECD DE56 F68D 46FB 6CCD 4038 Philip Martin [2048R/ED1A599C] with fingerprint: A844 790F B574 3606 EE95 9207 76D7 88E1 ED1A 599C Paul T. Burba [1024D/53FCDC55] with fingerprint: E630 CF54 792C F913 B13C 32C5 D916 8930 53FC DC55 Julian Foad [1024D/353E25BC] with fingerprint: 6604 5A4B 43BC F994 5728 351F 33E4 353E 25BC Bert Huijben [1024D/9821F7B2] with fingerprint: 2017 F51A 2572 0E78 8827 5329 FCFD 6305 9821 F7B2 Hyrum K. Wright [1024D/4E24517C] with fingerprint: 3324 80DA 0F8C A37D AEE6 D084 0B03 AE6E 4E24 517C Stefan Sperling [1024D/F59D25F0] with fingerprint: B1CF 1060 A1E9 34D1 9E86 D6D6 E5D3 0273 F59D 25F0 Mark Phippard [1024D/035A96A9] with fingerprint: D315 89DB E1C1 E9BA D218 39FD 265D F8A0 035A 96A9 Release notes for the 1.6.x release series may be found at: http://subversion.apache.org/docs/release-notes/1.6.html You can find the list of changes between 1.6.13 and earlier versions at: http://svn.apache.org/repos/asf/subversion/tags/1.6.13/CHANGES Questions, comments, and bug reports to us...@subversion.apache.org. Thanks, - The Subversion Team
Help with setting up transparent tunnel
Hi all, I am serving multiple Subversion (1.6.12) repositories with Apache (2.2) over Windows (Server 2008). My setup is a multi-project intranet server, so I configured it to serve all projects using SVNParentPath on Location /repos of the main company VirtualHost (on a domain e.g. www.company.com). This includes an authorization file for access control (path based, per repository). Several projects has their own domain (e.g. project.company.com), and I'd like to allow access the project-SVN via project.company.com/repos with minimal configuration duplication (especially the authz file). My thought was to configure Location /repos on the project VirtualHost as a transparent tunnel to www.company.com/repos/project, in order to reuse all authentication and authorization configuration with no extra effort. I'm not an Apache expert, so I tried setting this up using ProxyPass and ProxyPassReverse like this: VirtualHost project.company.com:80 ProxyPass /repos http://www.company.com/repos/project ProxyPassReverse /repos http://www.company.com/repos/project /VirtualHost This seems to work when accessing the project domain on a web browser, but it seems the Subversion client doesn't like this at all (I don't remember the error message, but it fails miserably). Any advice on how to set this up correctly? Thanks, - Itamar O.
Re: Checkout exclude pattern
On Fri, Sep 10, 2010 at 2:05 PM, Daniel Shahaf d...@daniel.shahaf.namewrote: So, you want a way to do svn up --set-depth=exclude $file at checkout time? I think the desired behavior is not related to set-depth. something like: svn [up,co] --exclude pattern (reg-exp?) so you could also use set-depth, if relevant. I'm +1 on it
Re: Two trunks in one repository?
On Thu, Sep 9, 2010 at 8:38 PM, Tech Geek techgeek12...@gmail.com wrote: So the concepts of trunks, branches, tags are transparent to SVN. We are in a situation where we might need to have two trunks in one SVN repository. The reason is that we have a family of projects - say ProjectA, ProjectB, ProjectC and so on, each one has it's own repository and have just one trunk (normal setup) since the each of these project has just one part. But now let's say we have a ProjectD which has two sub-systems - PartA and PartB whose code is 95% different. So we are thinking to have two trunks inside the ProjectD repository. We would prefer not to create an individual repository for PartA and PartB because we have decided to categorize each of the repository based on the family of Projects - ProjectA, ProjectB, ProjectC, ProjectD. Just wanted to know to get some thoughts from the experts on this mailing list regarding this setup. Any gotachs I need to watch out for? Thanks! Maybe I missed something in your scenario, but I would simply have one trunk with PartA and PartB as sub-directories.
Re: Two trunks in one repository?
On Thu, Sep 9, 2010 at 11:23 PM, Tech Geek techgeek12...@gmail.com wrote: I am thinking something like this: ProjectD ProjectD/PartA/trunk ProjectD/PartA/tags ProjectD/PartA/branches ProjectD/PartB/trunk ProjectD/PartB/tags ProjectD/PartB/branches Beleive me or not in our scenario the code of Part A and Part B never gets merged at any point. The only common part is that at the end of each release of Part A and Part B their output file is concetenated into a one single file which is then programmed on a hardware part by an external tool. So for a scenario like that I would like to keep it very simple. Any feedback or comments regarding the above structure? Thanks! That actually sounds extremely similar to the way I set up repositories for projects in my organization. Different projects are unrelated, so they reside in separate repositories, but every project (which is an embedded-device) has software development and FPGA development, so the layout within the project is exactly what you described: proj/Software/[trunk,branches,tags] proj/FPGA/[trunk,branches,tags] If you case is similar, I recommend using the layout you described, and considering the following points: * Add proj/Tools (or something like that) to manage the scripts that concatenate the final image etc. * If you also use SVN to store the resulting images (we do, although it is usually not recommended to keep binary outputs in source control), consider adding proj/Releases for those. * If you have code-reuse between projects (we have reusable software modules and IP cores) - look into svn:externals and decide how to manage it in your set up. I haven't completed handling this in my set up (still in the process of migrating from VSS..), but I plan to have a dedicated repository for shared assets and have specific projects define the assets they use based on absolute svn:externals.
Re: Two trunks in one repository?
On Fri, Sep 10, 2010 at 12:36 AM, Tech Geek techgeek12...@gmail.com wrote: Geoff, I think I am beginning to undestand what you are suggesting. Right now I am in process of implementing this setup. At this point nothing exits - no ProjectD, no PartA and no PartB. So I will try to summarize what I have undestood so far: 1. All our SVN repositories lives under the following location: \\myserver\SVN_Repositories\ProjectA \\myserver\SVN_Repositories\ProjectB \\myserver\SVN_Repositories\ProjectC 2. Now each of the Project directories - Project A, Project B and Project C are SVN repositories of their own (TortoiseSVN-Create Repository here) 3. Now Mr. ProjectD comes along with has two sub-parts - PartA and PartB. So I create a new repository ProjectD (TortoiseSVN-Create Repository here) under this (correct?): \\myserver\SVN_Repositories\ProjectD and then create two directories (with their own tags, branches and trunk) underneath ProjectD (all using SVN commands) like this: \\myserver\SVN_Repositories\ProjectD\PartA\trunk \\myserver\SVN_Repositories\ProjectD\PartA\tags \\myserver\SVN_Repositories\ProjectD\PartA\branches \\myserver\SVN_Repositories\ProjectD\PartB\trunk \\myserver\SVN_Repositories\ProjectD\PartB\tags \\myserver\SVN_Repositories\ProjectD\PartB\branches Note that Part A and Part B are not their individual repositories. They are just directories that live under ProjectD which is a repository. so far all good. 4. Let's say now PartA and PartB code development begings and at some point a tag is created for each of their release: \\myserver\SVN_Repositories\ProjectD\PartA\tags\REL-1.0 \\myserver\SVN_Repositories\ProjectD\PartB\tags\REL-1.0 Now let's say the output of Part A - PartA.xcf and output of Part B - PartB.xcf are concatenated into a file called PartAB-R1.xcf. My questions: Q1. At this point I would somehow like to store this file (PartAB-R1.xcf) into my SVN repository (ProjectD). What would be an ideal location (logically) to store such a file. Should I be doing any kind of merging from tags (REL1.0) of PartA and PartB to create another node called Combined-REL-1.0 or something like that. I would like to avoid this if possible. this is where the ProjectD/Releases I suggested earlier becomes useful. what I would have done for the 1.0 release: 1. tag the PartA PartB as you described in step 4, 2. create ProjectD/Releases/REL-1.0 directory, 3. create ProjectD/Releases/REL-1.0/sources directory and set svn:externals on this directory to something like: /PartA/tags/REL-1.0 PartA /PartB/tags/REL-1.0 PartB 4. create ProjectD/Releases/REL-1.0/binaries directory and import PartA.xcf, PartB.xcf PartAB-R1.xcf into it this feels pretty intuitive to me. and it's also a good process to automate (release-management-script). Q2. Also when somebody checks out ProjectD I would like that it pulls the PartA and PartB revision history also so that users cab see the Revision Graph of PartA and PartB together using the TortoiseSVN client. In SVN a working copy does not include the revision history, which remains on the server (as opposed to Git or Hg). In order to see a revision graph (TortoiseSVN feature), you need to communicate with the repository. In fact, you don't even need a working copy in order to enter the TortoiseSVN Repo browser and view the revision graph. I hope I am able to describe the whole scenario to you all.
Re: Trouble getting started
On Sun, Aug 29, 2010 at 12:07 AM, Fred Krogh fkr...@mathalacarte.comwrote: I'm new to subversion or in fact to any version control system and evidently have some error in my mind set when reading documents and trying to get subversion to work. I'm using a gentoo linux system and believe I have everything necessary installed. I started with the command svnadmin create /m/svn/repos Call that step 1. Then for step 2 I did svn import d1func.f90 file:///m/svn/repos/quadrature and that brings up emacs (my usual editor) with a file called svn-commit.tmp, which I type something in, and then close it. That didn't seem to get anything into the repository. I want to have a project called quadrature and I suspect I'm missing something between step 1 and step 2. Any help appreciated. Thanks, Fred Hi Fred, Didn't you get some error message from the svn client? Maybe what's missing is a step to create the quadrature directory in the repository, before you try to import a file into that directory. one way to do it: svn mkdir file:///m/svn/repos/quadrature -m Creating quadrature project (the -m ... part will skip the emacs opening up) another way is to import the entire directory, assuming it exists the way you want it in the repository. - Itamar.
Re: [ANNOUNCE] svnrdump: A new dumper/ loader in trunk
On Wed, Aug 18, 2010 at 9:50 PM, Ramkumar Ramachandra artag...@gmail.comwrote: Hi, There's now a new tool located in subversion/svnrdump. We have developed it over the last few weeks, and we feel that it is mature enough to announce. Although it has not been tested extensively, we would like to encourage you to try it out and give us feedback so we can improve it. So what is svnrdump? It is a tool to produce a dumpfile from a remote repository without having to mirror the whole thing on the hard disk, as well as load a dumpfile into a remote repository. Although it's fundamentally different from the `svnadmin` tool on the inside, it can be thought of as providing a remote `svnadmin dump | load` functionality. It currently only works with dumpfile v3, and we intend to keep it that way. svnrdump is meant to be a lightweight high-performance tool that is intended to be useful to both server admins and developers of other versioning systems looking to import/ export revision history from Subversion. The motivation for the project actually arises from my recent GSoC project, git-remote-svn; the Git developers are writing in support for seamless interoperability with Subversion. Anyway, we hope you find the tool useful; do test it on your own repositories and file issues/ feature requests. -- Ram This is exactly a tool I need! I wonder if the dev team has mind-reading abilities... Is this command going to be supported in the default installation from now? or is it a stand-alone utility that installs separately? In case of the former - will there be a 1.6.13 release that will include it? In case of the latter - any windows binaries out there? Thanks, Itamar.
Re: Merging repositories - is it possible?
On Fri, Aug 6, 2010 at 4:56 PM, JWalker jwal...@hotmail.bg wrote: Hello, This is my first post here. Is it possible to merge several repositories in a new empty repository? I am asking this, because I made several repositories of one project, one repository for mechanics, another for the software, another one for the electronics and so on. Now I see that this will be a bit hardly to maintain when more projects appear in the future. My goal is to create this layout (example) / /mechanics /software /electronics and then load the repository of mechanics to /mechanics, the repository of software to /software and so on. So, is this scenario possible - by bump/load procedure or something else? Ivan This is exactly the use case described in the SVN redbook: http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.migrate
Subversion authentication with SSPI
Hi list, I am currently successfully using mod_sspi to authenticate users against our domain controller (everything is windows here). After authentication, Apache passes the sAMAccountName to mod_dav_svn as the user name, and this is the name that I use for authorization and the name that appears in the logs. Our IT department is planning to change the sAMAccountName for all users according to a new policy- instead of a short name (like ItamarO) it will be the employer serial number. The old short name will still be accessible via another AD field (mailNickname). My question is whether there's a way to tell Subversion to query the AD server and use the name from mailNickname, instead of using whatever mod_sspi passes on. Alternatively, configuring mod_sspi to send mailNickname instead of sAMAccountName should also do the trick, so either solution is acceptable. (env info: Subversion 1.6.12, Apache 2.2.15, mod_sspi 1.0.4) Any ideas? Thanks, Itamar.
Re: changing the root repository name without losing revision history
On Tue, Jul 13, 2010 at 7:52 PM, Charan charan...@gmail.com wrote: Hi Guys, Is it possible to change the repository name without losing the history. Currently all my code is under the repository http://local.svn.com/svn/repoe5r/. I want the name *repoe5r* to be changed to *SVNROOT*. Can I do that? Thanks The history of the repository will remain untouched if you rename the repository. Of course you will need access to the server to do this. You just need to switch relocate all working copies to the new URL. Just to make sure - is repoe5r the repository, or a directory within a repository named svn? (my answered assumed it is a repository)
Re: How to access local svnserve repository in Windows
On Fri, Jul 9, 2010 at 12:12 AM, David Bartmess dingod...@edingo.netwrote: On 7/8/2010 1:25 PM, Itamar O wrote: On Thu, Jul 8, 2010 at 8:07 PM, David Bartmess dingod...@edingo.netwrote: I've setup a local repository under C:\svn_repository\Test using svnadmin create c:\svn_repository\Test, and want to access it via the command line svn.exe. The svnserve is setup as a Windows service, and I can see that it's started. The binpath in the service entry is C:\Program Files\CollabNet\Subversion Server\svnserve.exe --server -r C:\svn_repository -listen-port 3690 the syntax seems incorrect. I think the --server switch should be --service, That was a typo caused by me having to type it in from another machine for the email. the argument for the -r switch needs to be a repository (e.g. C:\svn_repository\Test), and the --listen-port switch is missing a -. Another typo on the --listen-port, but the -r is supposed to be a parent directory that I want to limit the svn access to, not necessarily a repository itself, according to the docs... you're right. it slipped my mind that a parent directory is also a valid argument. The question is, what is the correct syntax for accessing the svnserve service to import a new project? I've tried the following with no success: svn import -m Test import . svn://dingo.home/Test svn: Unknown hostname 'dingo.home' svn import -m Test import . svn://localhost/Test svn: No repository found in 'svn://localhost/Test' if you run svnserve as I explained above, you should be able to access the repository via http://localhost/ (drop the Test). I'm not using a web server, just svnserve. http://localhost/ wouldn't get me anywhere that was my typo. I meant svn://localhost/ what happens if you try running the svnserve from command line instead of as a service? svnserve -d -r C:\svn_repository if this works, maybe the issue is something to do with firewall settings related to the service. maybe if you use the --listen-host dingo.home switch you will also be able to access svn://dingo.home/ -- Dingo Dave Bartmess Broomfield, CO. USAhttp://edingo.net
Re: How to access local svnserve repository in Windows
On Thu, Jul 8, 2010 at 8:07 PM, David Bartmess dingod...@edingo.net wrote: I've setup a local repository under C:\svn_repository\Test using svnadmin create c:\svn_repository\Test, and want to access it via the command line svn.exe. The svnserve is setup as a Windows service, and I can see that it's started. The binpath in the service entry is C:\Program Files\CollabNet\Subversion Server\svnserve.exe --server -r C:\svn_repository -listen-port 3690 the syntax seems incorrect. I think the --server switch should be --service, the argument for the -r switch needs to be a repository (e.g. C:\svn_repository\Test), and the --listen-port switch is missing a -. The question is, what is the correct syntax for accessing the svnserve service to import a new project? I've tried the following with no success: svn import -m Test import . svn://dingo.home/Test svn: Unknown hostname 'dingo.home' svn import -m Test import . svn://localhost/Test svn: No repository found in 'svn://localhost/Test' if you run svnserve as I explained above, you should be able to access the repository via http://localhost/ (drop the Test). maybe if you use the --listen-host dingo.home switch you will also be able to access svn://dingo.home/ -- Dingo Dave Bartmess Broomfield, CO. USA http://edingo.net
Error loading mod_dav_svn
tried: - copying over the file with the original from the VisualSVN directory. - reinstalling VisualSVN and then recopying the original .so file. - using the built-in Apache server that comes with VisualSVN instead of the one I installed myself. - copying the mod_dav_svn.so file from the Alagazam 1.6.12 package in all cases I got the same error... Does anyone have any idea what can be the problem? Or what other diagnostic steps I can perform to better understand the issue? Thanks, Itamar O.
Reusing authz file between SVNPath SVNParentPath
Hi, I am using Apache mod_dav_svn and mod_authz_svn for authorization (authentication performed with mod_auth_ldap). The same Apache server is used to serve multiple repositories using SVNParentPath, so in the Location /svn block I have DAV svn SVNParentPath C:\repositories AuthzSVNAccessFile C:\repositories\authz and the content of the authz file goes something like: [groups] ... [/] # default is read-only for all repositories * = r [repA:/] auth-stuff-for-repA [repB:/] auth-stuff-for-repB ... this setup works great when users access http://server/svn/repX but in addition I want to allow shortcut URLs to several repositories (e.g. http://svn.projA.org/), so I have (in the same Apache configuration) multiple virtual hosts with ServerName svn.projX.org and Location / with: DAV svn SVNPath C:\repositories\repX AuthzSVNAccessFile C:\repositories\authz From what I understand, when accessing via a virtual host, all requests will be matched against the [/] block in the authz file, since mod_dav_svn assumes the authz file specified is specific for the repository being served (which is what happens in the described configuration). The question: is there a way to reuse the same authz file in both cases? (SVNParentPath SVNPath) maybe some directive that I can add to the virtual host location block telling mod_dav_svn to match all requests to repX and not /? Thanks! (and sorry for the long post..) Itamar O.
Re: What file system structure a SVN transaction follow ?
On Fri, Apr 30, 2010 at 1:23 PM, Ravi Roy ravi.a...@gmail.com wrote: On Fri, Apr 30, 2010 at 3:38 PM, Ryan Schmidt subversion-20...@ryandesign.com wrote: On Apr 30, 2010, at 04:52, Ravi Roy wrote: I am writing a custom hook (pre-commit) to find out the size of the transaction for certain size and then allow / disallow commit. But I am not sure what is the structure under /db/transactions which should be checked for size ? You don't need to know. :) Instead, use the svnlook program to inspect the transaction for the information you need. For example, svnlook changed to see what changed in the transaction, and svnlook cat to get the contents of individual files from the transaction, whose bytes you can then sum up. Thankd Ryan. Don't you think svnlook cat -t $T contentsfile would be too havy for pre-commit hook to handle and make repo commits slow :-) Suppose somebody is trying to commit 100 MB of file which I want to disallow in principle, I think this will cause performace issues. This will probably add some delay to the process, but keep in mind that in the pre-commit part the file was already transferred to the server, and this was probably the significant delay. Unless information about files in the transaction and their sizes is available in the start-commit phase (which occurs before the actual transfer of content), there's no way to avoid the big delay over the network. Which makes me wonder - is this information available in start-commit..? Thanks -RR
Re: Win7 Integartion issue
On Wed, Apr 28, 2010 at 5:10 PM, Bob Archer bob.arc...@amsi.com wrote: On 4/27/2010 12:09 PM, Bharti, Brijender wrote: Hi, I was using SVN on WinXP and migrated to Win7 64bit. I downloaded SVN 64bit (earlier was 32bit) 1.6.11. It gets installed but it does not get integrated with Windows Explorer. I can not see Tortoise SVN also in Program Menu. I can see it is installed in control panel and Program Folder. It sounds like you downloaded SVN, not TortoiseSVN, since there is no TortoiseSVN 1.6.11 yet. The latest version of TortoiseSVN is 1.6.8. I am experiencing a similar issue, using TortoiseSVN 1.6.7 on Windows 7 32-bit. TortoiseSVN appears in the Programs menu in my case, but it is absent from the context menu in the explorer. More interesting, when I checkout directories using the command line client, Make sure you install the correct version of TortoiseSVN. If you are on a 64-bit machine then Explorer runs as a 64-bit app so you need to install the 64-bit version of TSVN. I can browse the checked out working copy in the explorer and see the icon overlays of Tortoise, and also while in the working copy the context menu items are mysteriously present. Are you sure you are looking at a working copy. Does it have .svn folders in it. Also, check the settings for overlays and make sure you aren't exluding any paths. Oh, you should move this discussion to the TSVN list. BOb Turns out the discussion already occurred on the TSVN list [1]. My issue was in directories that were under libraries. TSVN 1.6.8 solved the issue for me. [1] http://groups.google.com/group/tortoisesvn/browse_thread/thread/d0f3dd039e43c3b8/93ddd203cda1de36
Re: Rearranging archive
On Wed, Apr 28, 2010 at 6:06 PM, Steve Kelley skel...@sciend.com wrote: I've tried that with every combination of file://... I can think of and I keep getting errors. the disk layout is: drive D (Windows XP) d:\archive - normal directory under archive there are multiple repositories, each representing a separate project. I've created a new repository svnadmin create d:\MyArchive I created a directory tree to mirror what I want: d:\temp d:\temp\proj1 d:\temp\proj1\trunk d:\temp\proj1\branches d:\temp\proj1\tags d:\temp\proj2 d:\temp\proj2\trunk d:\temp\proj2\branches d:\temp\proj2\tags ... From d:\temp I ran svn import . file:///MyArchive svn list file:///MyArchive shows the project files Now, how do I get d:\archive\proj1 into d:\MyArchive\proj1\trunk? Here is what I am getting D:\archivesvn mv file:///archive/proj1 file:///MyArchive/proj1/trunk svn: Source and dest appear not to be in the same repository (src: 'file:///archive/crbuild'; dst: 'file:///MyArchive/crbuild/trunk') This is a repository command, not WC command, as file://* are URLs, not WC paths. If D:\MyArchive is your repository directory, then try something like: svn mv file:///D:/MyArchive/proj1 file:///D:/MyArchive/trunk -m .. svn mkdir file:///D:/MyArchive/proj1 -m .. svn mv file:///D:/MyArchive/trunk file:///D:/MyArchive/proj1/trunk For this you don't need a working copy at all. Bob Archer wrote: Thanks for the response. This I can do. However, what I want is to get all of the history etc. into the trunk so that it looks like the repository was created properly to start with. The svn mkdir and mv commands do not work in the repository itself, only in the working copy. Sure they do... check out svn help mv: SRC and DST can both be working copy (WC) paths or URLs: WC - WC: move and schedule for addition (with history) URL - URL: complete server-side rename. All the SRCs must be of the same type. The mv will retain all the history. If you are on windows you can use the TortoiseSVN repo browser. It makes stuff like this very easy. BOb No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.814 / Virus Database: 271.1.1/2839 - Release Date: 04/27/10 14:27:00 -- Steve Kelley 106 Oklahoma Ave. Oak Ridge, TN 37830 865 482 7131
Re: Win7 Integartion issue
On Tue, Apr 27, 2010 at 8:41 PM, Dave Huang k...@azeotrope.org wrote: On 4/27/2010 12:09 PM, Bharti, Brijender wrote: Hi, I was using SVN on WinXP and migrated to Win7 64bit. I downloaded SVN 64bit (earlier was 32bit) 1.6.11. It gets installed but it does not get integrated with Windows Explorer. I can not see Tortoise SVN also in Program Menu. I can see it is installed in control panel and Program Folder. It sounds like you downloaded SVN, not TortoiseSVN, since there is no TortoiseSVN 1.6.11 yet. The latest version of TortoiseSVN is 1.6.8. I am experiencing a similar issue, using TortoiseSVN 1.6.7 on Windows 7 32-bit. TortoiseSVN appears in the Programs menu in my case, but it is absent from the context menu in the explorer. More interesting, when I checkout directories using the command line client, I can browse the checked out working copy in the explorer and see the icon overlays of Tortoise, and also while in the working copy the context menu items are mysteriously present.
svn-python win32 bindings question
I was wondering whether svn-1.6.9-python-2.6 win32 bindings exist (preferably in installer form)? (in [1] I could find only svn-1.6.6-python-2.6) Conversely, is it possible / valid / safe to use the 1.6.6 bindings (from [1]) with svn-1.6.9 binaries? (e.g. from Visual SVN Server [2]) Thanks, Itamar. [1] http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100 [2] http://www.visualsvn.com/server/
Subversion SCC providers?
Hi list, I am trying to integrate SVN as a source control provider for Active-HDL (from Aldec). I understand that Active-HDL supports the SCC API (MSSCCI?), and I was wondering if anyone knows of any free / open source SCC providers for SVN. Thanks, Itamar O.
Re: Subversion SCC providers?
Hi David, AnkhSVN indeed came up during my searches, but according to [1] AnkhSVN works only with Visual Studio... [1] http://ankhsvn.open.collab.net/wiki/Faq/#head-c716115ea60f783551e22b1d6d505f0e3aa3a014 On Mon, Mar 22, 2010 at 9:18 PM, David Weintraub qazw...@gmail.com wrote: Have you tried AnkhSVN? http://visualstudiogallery.msdn.microsoft.com/en-us/E721D830-7664-4E02-8D03-933C3F1477F2 . On Mon, Mar 22, 2010 at 1:54 PM, Itamar O itamar...@gmail.com wrote: Hi list, I am trying to integrate SVN as a source control provider for Active-HDL (from Aldec). I understand that Active-HDL supports the SCC API (MSSCCI?), and I was wondering if anyone knows of any free / open source SCC providers for SVN. Thanks, Itamar O. -- David Weintraub qazw...@gmail.com
Re: Problem with svn add command
Both the escaping of the '-' and adding '--' before the filename did the trick :-) Thanks! BTW, This was on Windows. On Tue, Mar 16, 2010 at 2:05 AM, Ryan Schmidt subversion-20...@ryandesign.com wrote: On Mar 15, 2010, at 16:12, Aaron Friesen wrote: From: Itamar O [mailto:itamar...@gmail.com] I have an unversioned file named - example.txt (don't ask why..), and when I 'svn add - example.txt' I get: svn: invalid option character: Type 'svn help' for usage. Try: svn add -- - example.txt FYI, this is not unique to Subversion; most UNIX command line programs have this behavior.