Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Svn diff export. Think exploded .patch. Performs an svn diff (between two branches), svn export and zip to create a release archive with only delta files. Take a baseline export to another tag.

branch: master

initial import

latest commit 09a4ed33cb
Philip Gloyne authored January 27, 2010
Octocat-spinner-32 lib initial import January 27, 2010
Octocat-spinner-32 releases initial import January 27, 2010
Octocat-spinner-32 src initial import January 27, 2010
Octocat-spinner-32 test
Octocat-spinner-32 .classpath
Octocat-spinner-32 .gitignore initial import January 27, 2010
Octocat-spinner-32 .project
Octocat-spinner-32 LICENSE.txt initial import January 27, 2010
Octocat-spinner-32 README.txt initial import January 27, 2010
README.txt
---------------
Svn Diff Export
---------------
Date: 25-JAN-2010
Author: Philip Gloyne (philip.gloyne@gmail.com)

ABOUT
-----
Patch a baseline svn export to a newer branch. Allows a user to chain multiple svn commands: 
	
	svn diff --summarize | svn export <each file> | zip <dir>


WHY?
----
We use it to patch a large deployed project on a server we can't directly export to.


EXAMPLE USAGE:
--------------
Can be found in releases/1.0/svn-diff-export.bat.example


COMMANDS:
---------

Create a diff.patch file
java -jar svn-diff-export-1.0.jar diff <old-branch-url> <new-branch-url> <diff-file>

Export each of the files described in the diff.patch to a target directory
java -jar svn-diff-export-1.0.jar export <diff-file> <old-branch-url> <new-branch-url> <target-dir>

Create a revision file (usually in a public folder - we put ours next to robots.txt)
java -jar svn-diff-export-1.0.jar revision <new-branch-url> <revision-file-full-path>

Create a .zip of the 'export' folder to push to the server
java -jar svn-diff-export-1.0.jar zip <directory-to-zip>


TODO
----
Unit tests. Tidy up docs.
Something went wrong with that request. Please try again.