-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME
72 lines (48 loc) · 1.62 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
=============================================================
Simple Git Migration Script
=============================================================
Description
-------------------------------------------------------------
This script will convert projects stored in SVN with the following format:
/trunk
/Project1
/Project2
/branches
/Project1
/Project2
/tags
/Project1
/Project2
This scheme is also popular and supported as well:
/Project1
/trunk
/branches
/tags
/Project2
/trunk
/branches
/tags
Each project will get synchronized over by project name:
Ex: ./migration https://svnurl.com/basepath project1
If you wish to convert the full repo over, use the following syntax:
Ex: ./migration https://svnurl.com/basepath .
The final repository is converted over to a bare git repository.
Requirements
-------------------------------------------------------------
Mac OS X, Linux:
- SVN
- Native Git
Windows:
-You will need MSYSGIT, http://code.google.com/p/msysgit/downloads/list
Usage
-------------------------------------------------------------
You will want to generate a list of committers first:
Ex: ./migration https://svnurl.com/basepath
Open the the commiters list file and add email address. Change the following format:
jhuntley = jhuntley <jhuntley>
To:
jhuntley = jhuntley <onepremise@gmail.com>
Each project will get synchronized over by project name:
Ex: ./migration https://svnurl.com/basepath project1
If you wish to convert the full repo over, use the following syntax:
Ex: ./migration https://svnurl.com/basepath .