You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Apache Wiki <wi...@apache.org> on 2015/07/13 18:57:14 UTC
[Commons Wiki] Update of "MovingToGit" by sebbapache
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.
The "MovingToGit" page has been changed by sebbapache:
https://wiki.apache.org/commons/MovingToGit?action=diff&rev1=1&rev2=2
Comment:
Worked example SCXML
Replace {{{availid}}} with the ASF login id of the person doing the move, and {{{xyz}}} with the name of the component.
+ == Sample SVN commands (using SCXML as an example) ==
+
+ {{{
+
+ # N.B. make sure you do this first!
+ svn mkdir -m"SCXML => Git" https://svn.eu.apache.org/repos/asf/commons/_moved_to_git/scxml
+
+
+ svn mv -m"Now using Git" \
+ https://svn.apache.org/repos/asf/commons/proper/scxml/branches \
+ https://svn.apache.org/repos/asf/commons/_moved_to_git/scxml/
+
+ # Don't omit the trailing / after the target
+ # If it is omitted, and the target does not exist, then the source directory may be renamed
+
+ svn mv -m"Now using Git" \
+ https://svn.apache.org/repos/asf/commons/proper/scxml/tags \
+ https://svn.apache.org/repos/asf/commons/_moved_to_git/scxml/
+
+ svn mv -m"Now using Git" \
+ https://svn.apache.org/repos/asf/commons/proper/scxml/trunk \
+ https://svn.apache.org/repos/asf/commons/_moved_to_git/scxml/
+
+ # Check source tree
+ svn ls https://svn.apache.org/repos/asf/commons/proper/scxml/
+
+ # If there are any files/folders (apart from ScxmlMovedToGit.txt) then these also need
+ # to be moved as above.
+
+ # Check target tree:
+ svn ls https://svn.apache.org/repos/asf/commons/_moved_to_git/scxml/
+
+ }}}
+
Once the process is completed, the {{{asf-authorization-template}}} should be updated to remove the temporary entries
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org