-
Notifications
You must be signed in to change notification settings - Fork 1
/
chocolate-doom-misc.cfg
128 lines (99 loc) · 3.52 KB
/
chocolate-doom-misc.cfg
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# URL of the Subversion repository.
SVN_REPO = "file:///.../chocolate-doom-repo"
# Path to directory where the Git repository containing the converted
# history should be stored.
GIT_REPO = "chocolate-doom-misc"
# Subversion paths to convert to Git branches.
# If the paths contain the '%' character, this is a wildcard to map
# from Subversion path to Git branch name. For example:
# "/releases/foobar-%" : "v%"
# Will result in this mapping:
# /releases/foobar-0.0.1 -> v0.0.1
BRANCHES = {
"/buildscripts" : "buildscripts",
"/debian" : "debian",
"/git" : "git",
"/icon" : "icon",
"/launcher" : "launcher",
"/master" : "master",
"/research" : "research",
"/tools" : "tools",
}
# Subversion paths to convert to Git tags.
TAGS = {
}
# Subversion username to Git author mapping.
AUTHORS = {
"fraggle" : ("Simon Howard", "[email protected]"),
# Fall back to me.
None : ("Simon Howard", "[email protected]"),
}
# Default author, when not found in the AUTHORS map above. The '%'
# is replaced with the Subversion username.
DEFAULT_AUTHOR = ("%", "%@users.sourceforge.net")
# ---------------------------------------------------------------------------
# If true, tags are created as annotated tag objects, rather than just
# refs to the head of the history of the tag. This is done by taking the
# change at the head of the history, discarding it, and creating a tag
# object in its place, reusing the commit message from the discarded
# commit. This behavior works for most Subversion tags, where the tag
# was created by a 'svn cp' from one path to another. As a sanity check,
# the tree of the head commit is checked to ensure that it matches the
# tree of the parent commit. If it does not, a normal "ref tag" is
# created.
CREATE_TAG_OBJECTS = True
# Functions to apply to commit messages to convert from Subversion
# commit messages to Git ones.
COMMIT_MESSAGE_FILTERS = [
agito.reflow_text, # Reflow text to 72 columns
agito.append_branch_info, # Append SVN branch/rev info.
]
# List of revision numbers of Subversion revisions that should be
# "filtered" from the converted history: any changes made in a filtered
# revision will be included in the following revision instead. If you
# filter a commit that is the head of a branch, you're going to have a
# bad time.
FILTER_REVISIONS = []
# Callback function to invoke before creating each commit. This is
# similar to Git's 'filter-branch' command. Invoked with the branch
# path, log entry metadata dictionary, and Directory object representing
# the tree.
#
# The metadata dictionary contains the data used in constructing the Git
# commit - the keys are the same names as the environment variables set
# by 'git filter-branch'.
#def my_filter_callback(path, entry, metadata, treedir):
# pass
#
#FILTER_BRANCH_CALLBACK = my_filter_callback
# These lines are included in the root .gitignore file.
SVN_DEFAULT_IGNORES = """
# These are the default patterns globally ignored by Subversion:
*.o
*.lo
*.la
*.al
.libs
*.so
*.so.[0-9]*
*.a
*.pyc
*.pyo
*.rej
*~
.#*
.*.swp
.DS_store
"""
# Subversion properties used for tracking merges. This maps from a
# property name to a callback function to invoke when the property with
# that value is changed on the root of a branch. The function returns a
# tuple containing the Subversion path of the branch that was merged,
# and the revision number of the point on the branch that was merged.
#def my_merge_callback(path, entry, changed):
# old_value, new_value = changed
# ...
# return ("/branches/foo-branch", 1234)
MERGE_CALLBACKS = {
}
# vim: set ft=python: