svn

Empty repository after subversion -> mercurial conversion

I've used the 'hg convert' command to try to move my SVN repository to hg, and it seems to work (takes a while and prints out all the commit messages as it goes), but at the end the resulting Mercurial directory is empty. It has the .hg hidden subdirectory in it, and it's about 200 MB so SOMETHING happened, but none of the files are the...

Why won't svn let commit .htaccess files?

Try as I might, I can't commit .htaccess files from my windows svn client (tortoise svn). The error that is returned is: Could not read status line: Existing connection was forcibly closed by the remote host. And here is basically what my vhost looks like in Apache: <VirtualHost *:80> DocumentRoot /var/www/mydomain.com/legacy/...

Versions - how to add all new files

Hi, I am using Versions application for Mac Os. I am new to Versions. I have got a project that I modified recently - added a bunch of new files. Currently I manually add all new files into the repository (I have to expand all those folders with a yellow bead sign and select new files while holding APPLE key). Is there a way to automa...

Trying to run ftpsync.pl from post-commit hook

As the title says, I'm trying to ftpsync changed tree to our dev web server. On committing I get this error: post-commit hook failed (exit code 13) with output: Cannot create syncfile for time sync option at /data/ftpsync/ftpsync.pl line 484. I've tried looking at line 484 but Perl looks like a foreign language to me :) What...

Selective merging in subversion

Does anyone know how to avoid merging certain files in a branch merge? For eg., if i am merging stuff from say mybranch to trunk but if i DONT want to try merging certain files, is there a way to set something to ignore looking at these files? The files i need ignore may or may not share file extensions.This scenario is important in st...

SVN hook environment issues with Python script

Hi I am experiencing issues with my SVN post-commit hook and the fact that it is executed with an empty environment. Everything was working fine till about two weeks ago when my systems administrator upgraded a few things on the server. My post-commit hook executes a Python script that uses a SVN module to email information about the ...

How do I fix line ending issues after migrating from SVN to git?

I just finished converting a Subversion repository to git using git svn clone--stdlayout --authors-file=ourcommitters.txt svn://svn.internalserver.com While doing so, I had the git flag 'core.autocrlf' set to 'true' - just in case that matters. After a long time, the command finished. I cleaned the resulting git repository a bit (del...

Can I do 'git svn dcommit' from a SVN git clone which was created with --no-metadata?

I converted a SVN repository to git using git svn clone --stdlayout --authors-file=authors.txt --no-metadata svn://svn.foo.com For some reason, this gave me what looked like a bare repository. There was just a .git directory. In thise cloned repository, I wanted to get a checkout. Since git checkout didn't work, I ran git reset --hard...

Saving time in SVN post-commit hooks?

At my place of work we've started to introduce proper SVN hooks, "proper" meaning "doing a lot of policy checking". Currently, our policy consists of Perl::Critic with Perl::Tidy checking enabled. However, especially the latter one takes a lot of time on commits with several to many files touched and SVN wouldn't return until the post-co...

How to get NO context when using svn diff

When I use 'svn diff' from the command line, it prints out the lines that have changed but also the 3 unchanged lines before and after for context. I much prefer seeing only the changed lines with no context. I haven't been able to determine any command line options that will let me make it behave this way. Standard 'diff' and 'cvs diff'...

How to update automatically a file when committing with SVN

Probably duplicate of http://stackoverflow.com/questions/438398/subversion-as-version-incrementor-at-each-commit http://stackoverflow.com/questions/650168/post-commit-hook-to-update-a-file-under-version ... I'm looking for a way to update a file (let's say lastbuild.txt) with the last SVN revision number when I commit. How can I do t...

Is there a way to make TortoiseSVN temporarily ignore versioned files?

We have certain configuration files which we want to be in version control as they specify project's default settings: search path, conditional defines etc. Unfortunately these files are also used by the IDE (Delphi 5) to hold temporary information. The IDE continually updates the files during development which causes Tortoise to flag th...

Best source control for us to use(and how to convince people of it?)

Hi, I'm in a little bitty startup company. Right now we are using JEDI VCS for our source control needs, which isn't too bad except for it's buggy. It worked because we were using it to manage "old" Delphi projects. Now, we are developing things in VS 2008 and .NET and I realized JEDI is extremely tied to Delphi when I went to try to b...

Find commits less than N characters to help spot lazy developers

Is it possible in any of the modern SCMs to grab a complete list of commits, their revision numbers and the user that did it, when given a specific character count? I'd like to find out which -- if any -- of the developers are letting the side down with useless commits. Disclamer: I understand that short commit messages can sometimes a...

svn: dump format documentation?

Is the "svnadmin dump" format documented somewhere? I want to record a datastructure containing all the metadata for a svn repository, which is essentially the same stuff in the "dump" file except for the file contents itself. Seems like the svnkit library would have it, or have a way to obtain this metadata programmatically, but I've b...

Creating a checkout-once type thing with SVN

Hi, I'm having to manage some ASPNETDB.MDF files with my subversion repo. Everytime I visit my site it updates something in this file. Which is not what is wanted. It also can't be readonly or else the site fails to open the file and gives a nice little error. So what kind of property should I use. This database is only necessary for ...

Is it possible to change files during checkout from SVN?

Is it possible to add come comment at the beginning of files during checkout from SVN? ...

Problem with connecting to CollabNet SVN remotely.

Hello, I setup the basic Win32 CollabNet SVN Server 1.6.5-6 with all the default settings and Apache running on port 9999 . Also, I installed TortoiseSVN . Everything works fine with Tortoise and also with Eclipse as long as I use a FILE url such as: file:///C:/SVNRepository/ . If I point Internet Exploder at http://localhost:9999 i...

Does "svnadmin dump" lock the repository?

... what happens if someone tries to commit during a svnadmin dump REPOS_PATH? The subversion book doesn't say anything about that. ...

Using diffstat with subversion?

Hello everyone! Could anyone give me examples, how I could use diffstat with subversion? I mean, using diffstat to analyze and produce statistics about one or multiple commits. NOTE: Linux commandline examples are OK ;) ...