[MPlayer-cvslog] r37850 - trunk/DOCS/tech/release-svn.txt

rtogni subversion at mplayerhq.hu
Sat Mar 26 21:28:58 CET 2016


Author: rtogni
Date: Sat Mar 26 21:28:58 2016
New Revision: 37850

Log:
svn commands useful for a release

This is a summary of the svn commands used to make a release (branch, tag,
sync changes, ...).
I wrote it because I never remember the correct syntax.

Added:
   trunk/DOCS/tech/release-svn.txt

Added: trunk/DOCS/tech/release-svn.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/DOCS/tech/release-svn.txt	Sat Mar 26 21:28:58 2016	(r37850)
@@ -0,0 +1,33 @@
+This is a short summary of the svn commands used to manage a release in svn.
+
+
+Merge changes from trunk to release branch
+ * in release branch checkout dir
+   - Merge a single commit r12345
+     svn merge ^/trunk -c 12345
+   - Merge multiple commits from r12345 to r12350
+     svn merge ^/trunk -r12344:r12350
+                             ^ Not a typo
+   - Merge a single file from r12345
+     svn merge ^trunk/myfile.ext myfile.ext -c 12345
+   - Revert a single commit r12345
+     svn merge ^/trunk -c -12345
+   - For problem "svn: E195020: Cannot merge into mixed-revision working copy"
+     svn update
+   - In nothing happens on merge commands (on clean tree only!)
+     svn revert .
+
+
+Copy a file from trunk to release branch
+   - Copy myfile.ext to release branch 1.2
+     svn copy ^/trunk/myfile.ext ^/branches/1.2/myfile.ext
+
+
+Create a release branch
+    - Create release branch 1.2 from trunk
+      svn copy ^/trunk ^/branches/1.2
+
+
+Tag a release
+    - Tag 1.2.1 from 1.2 branch
+      svn copy ^/branches/1.2 ^/tags/MPlayer-1.2.1


More information about the MPlayer-cvslog mailing list