Simple as following. {where 123 is the revison number}
>svn copy -r123 http://svn.example.com/repos/calc/trunk http://svn.example.com/repos/calc/branches/my-calc-branch
Simple as following. {where 123 is the revison number}
>svn copy -r123 http://svn.example.com/repos/calc/trunk http://svn.example.com/repos/calc/branches/my-calc-branch
Creating a SVN branch from given commit id
Say you got some old repo on svn, you hate that it is on svn but not git. Yet you want to revert a commit/s cleanly like you would do it in git 😃 This is how
You will have to use both svn command line and TortiseSVN to make it simple and clear.
1. First go inside the folder from command line and updae the code base to latest revison as following.
>svn up -r HEAD # get latest revision
>svn merge -c -120 . # undo revision 120
>svn merge -c -118 . # undo revision 118
Commit with TortiseSVN same as for commit 120. You don't have to use TortiseSVN for the commit. You can just use following command. >
svn commit # after solving problems (if any)
Revert SVN commit - Most sure way to get it done
CREATE TRIGGER ARCHIVE_ON_DELETE BEFORE DELETE ON TASK_SHEET FOR EACH ROW BEGIN INSERT INTO TASK_SHEET_ARCHIVE (id,task_id, asking_time, given, received, comments, status, last_updated, task_sheet_number, channel_id) SELECT id, task_id, asking_time, given, received, comments, status, last_updated, task_sheet_number, channel_id FROM TASK_SHEET WHERE id=OLD.id; END
ALTER TABLE contacts AUTO_INCREMENT = 50;