-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
55 lines (38 loc) · 1.57 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
README
======
This repository contains the meta-data used to convert the Scribus SVN
(svn://scribus.net) repository to Git.
The trunk and all branches and tags are imported from SVN into Git.
The SVN repository contains an additional folder "Scribus" at the
project root. This folder is skipped during conversion, so that the
programm sources appear in the repository root.
The git_repo_init.sh script configures an empty Git repository to
receive the SVN commits.
The update_from_svn.sh script pulls new commits from SVN, creates Git
tags from SVN tags and pushes the result to the configured "origin"
Git remote repository. (To congigure this origin Git remote repo,
just do a "git remote add repo_name repo_url" in the shell).
How to set-up
-------------
1. create empty git repository
git init <nice_name>
2. move into the git repository
cd <nice_name>
3. initialize git svn
./path/to/git_repo_init.sh
4. configure remote Git server
git remote add origin <URL/to/remote>
5. import svn into git
./path/to/update_from_svn.sh
Caveat
------
All SVN commiters need to be listed in svn_authors.txt. A missing
author will lead to an error:
Author: <username> not defined in /path/to/svn_authors.txt file
In this case, add the new commiter to the svn_authors.txt file with
the following format:
username = Full Name <[email protected]>
and re-run the import.
External references
===================
* github to svn and svn to github sync scripts using another git repo : http://zone.spip.org/trac/spip-zone/browser/_outils_/svn2git/trunk