svn

Ways to synch many (small) files over high-latency network connection

We typically deploy our software applications to our clients using Subversion (svn update on the clients; unidirectional). We're currently experiencing problems with one of our clients because of the high latency (large file download speeds are good) because they are in China and our server is in Canada. Subversion simply times out with ...

Git-svn operation philosophy?

How does git-svn operate? I have access to an svn repository at work but I'm going to start to work with a distributed team and I'd like to start to fire up git use on this project (as a pilot). ...

How do I delete a wrongly tagged directory in SVN?

I have a project Foo which I errantly created the wrong tag for. It should've read 'rMMDDYYYY' but I tagged it 'YYYYMMDD' instead. I realized my mistake after having commited my change. I now want to remove the YYYYMMDD folder under the tags directory and leave the rMMDDYYYY folder instead. i.e. before: foo/ foo/trunk/ foo/branche...

SVN: How can I move one branch over the top of the other?

Due to some mismanagement of our SVN repository, we ended up making a branch, named Stable, containing a stable build of our code (the branch actually got started from a tag of the last release, rather than the trunk). Basically trunk has been 'infected' by some changes made by our new programmer, who didn't really know what they were d...

Eclipse Merge Branch into Trunk

I am trying to merge my development branch back into the trunk of my repo. Steps I took: Switch to trunk check that it is up to date, resolve any conflicts Go to Team->Merge Select URL : development branch Start Revision: Revision when branch was created End Revision: HEAD OK This should do the magic - it opens up the syncronize view...

How I see the modified files, but not commited from server?

At SourceSafe, I can know if someone modified a file but dont commited, because file will be locked. By default Svn don´t work with locks, it´s good, but how can I know if someone modified any file and forgot to commit? At my work, we compile dlls at development machine and send to staging, I know that build server integrated with sub...

What happens if a file I want to commit to SVN is updated so often I don't manage to do a merge quickly enough?

Consider a situation. I want to commit a changed file to SVN and see that someone else committed the same file after I checked it out, so I have to "update" and merge changes. While I'm doing that someone commits the same file again, so when I try to commit the merged file I have to update again. Now if other users commit often enough i...

How do I revert a file in a working copy to an older revision and then commit it back to the repository?

What is the process for reverting files and folders to earlier revision in SVN using the windows TortoiseSVN client? I've have tried right-clicking a file in the working copy and selecting the "Update to revision..." command and then specifying the revision number I want, but I can't commit that change back to the repository as it think...

Search in SVN Eclipse plugin

Hi All, I am using Subversive plugin for Eclipse to connect to SVN Code repository. Our code base is so huge, that am finding it difficult to search for files. I am not able to find files using Ctrl+F key also. Is there anyway I can search for specific files in this plugin. thanks in advance, Regards, PK ...

Authentication error on execution of post-commit hook in SVN

I've got a SVN post-commit hook that updates a working copy when a commit is made to the repository. The post-commit hook executes the following command: /usr/bin/svn update /path/to/working/copy It was working fine until I enabled the Apache mod_dav Require valid-user directive. Authentication is fine when using the tortoisesvn clien...

How can we use version control in a shared work environment?

Currently our team (web devs, one designer and one copywriter) all work on separate workstations but do our changes on the same dev environment (we all mount the same shared drive), it's a marketing site and not a web application, so no builds or deployments, we just push changes to the live site once they are done, but I think it's impo...

Deploy changed files using Git

I’ve come to Git from SVN. Formerly in order to update some production site I compared revisions from production one to HEAD using TortoiseSVN, exported changed/added files into a temporary directory and after that uploaded them onto production server. Is it possible to reproduce the same using Git (TortoiseGit)? ...

How can a mobile student effectively use Dropbox with a source control system?

I got a laptop in preparation for the coming semester, which will see me taking a university programming course while working full time. I will, of course, be using a source control system (probably Subversion) and had the idea of creating my repositories in my Dropbox folder, which would enable me to check out and work on code locally ...

How do I tag files in a directory in a SVN repository with a global version number that will appear in the actual file?

I am working on a project that stores multiple versions in the same svn repo but in different directories. For ease of reference for the coders working on the project I'd like to be able to add a commented tag similarly to # $Revision: 144 $ However, instead of the file revision it should contain a simple version number like so: # $...

How can I create SVN versioning on top of an existing project?

At work we've got a very large project (approx. 30,000 files) managed by a Borland StarTeam source control system. We'd like to migrate to SVN, but there are a few hurdles in the way. The most significant one is the problem of getting the repository set up on all the devs' VMs. There are two basic ways to set up a new SVN-versioned fo...

Embedding version control within App

I am building an application to learn cocoa, basically its a notes keeping app. But i wanted to build a functionality where i can see what happen to the document over time, i think using subversion/version control software can help me in this task. But how i can embed it within an app? ...

SVN merge just a directory add from a checkin (without directory contents)

Hello, Am trying to merge (from a branch) a file in a directory that does not yet exist on trunk. Here is the example: Trunk (from which we branch) / /root1.txt /foo/foo1.txt Branch (after 2 checkins) / /root1.txt /foo/foo1.txt /bar/bar1.txt /bar/bar2.txt First checkin: A /bar A /bar/bar1.txt Second checkin: A /bar/bar2.t...

SVN : Ignore files / folders on update

As a developer I want to have a flag / property on the working file / folder saying "in progress" or something. As I progress on I will be doing commits to SVN repository. But during this process if i need to update the files done on to Test server, I would like to ignore the files having flag / property of "in progress". How can th...

Using Subversion with DropBox

Hi all, Is it a bad idea to use DropBox as a backup system for Subversion repositories? Has anyone tried using Subversion with an an online file sharing utility like DropBox? What's your experiences? My concern is whether this will work - mainly because Subversion maintains locks and it's very specific about it. I'm not sure if DropB...

Problem with SvnInfo in MSBuild (using MSBuildCommunityTasks)

I have a script, that I will use together with cc.net. But for now I'm facing a problem with the RepositoryPath attribute. The following script (extract of the sample script from MSBuildCommunityTask) is giving me troubles: <?xml version="1.0" encoding="utf-8"?> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" T...