What do the result codes in SVN mean?

For additional details see the SVNBook: “Status of working copy files and directories”. The common statuses: U: Working file was updated G: Changes on the repo were automatically merged into the working copy M: Working copy is modified C: This file conflicts with the version in the repo ?: This file is not under version … Read more

Structure of Projects in Version Control

We practice highly componentised development using Java, we have about 250 modules in trunk that have independent life cycles. Dependencies are managed through Maven (that’s a best practice right there), every iteration (bi-weekly) actively developed modules get tagged with a new version. 3 digit version numbers with strict semantics (major.minor.build – major changes means backwards … Read more

How do I move a single folder from one Subversion repository to another repository?

If you have access the repository itself (not a working copy), you should be able to dump the current repository, filter it to only include information about the docs folder, and load it into the other repository. Would be something like this: svnadmin dump /svn/old_repos > ./repository.dump svndumpfilter include path/to/docs –drop-empty-revs –renumber-revs –preserve-revprops < ./repository.dump … Read more

Combining multiple SVN repositories into one

Edit: Oh well, the question edit was made while I was typing. This is an answer to Is there a way to combine two or more repositories maintaining the version history for both? Assuming that The existing repositories have a structure like: repository root branches tags trunk and you want a structure something like: repository … Read more

Getting the last revision number in SVN?

If you want to analyse a local working copy, the best tool is svnversion, which comes with Subversion and produces output like 968:1000M. The documentation says: The version number will be a single number if the working copy is single revision, unmodified, not switched and with an URL that matches the TRAIL_URL argument. If the … Read more