nirvdrum-svn2git 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.markdown +6 -0
- data/VERSION.yml +1 -1
- data/lib/svn2git/migration.rb +2 -2
- data/svn2git.gemspec +1 -1
- metadata +1 -1
data/ChangeLog.markdown
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
# 1.3.1 - 2009-06-09
|
2
|
+
|
3
|
+
Thanks to iteman for finding a problem with the tagging process and providing a patch.
|
4
|
+
|
5
|
+
* Fixed a problem with creating actual git tags when the SVN tags path was named anything other than 'tags.'
|
6
|
+
|
1
7
|
# 1.3.0 - 2009-06-09
|
2
8
|
|
3
9
|
Many thanks to mss for the patches making up most of this release.
|
data/VERSION.yml
CHANGED
data/lib/svn2git/migration.rb
CHANGED
@@ -151,12 +151,12 @@ module Svn2Git
|
|
151
151
|
|
152
152
|
def get_branches
|
153
153
|
@remote = `git branch -r`.split(/\n/)
|
154
|
-
@tags = @remote.find_all { |b| b.strip =~ %r{
|
154
|
+
@tags = @remote.find_all { |b| b.strip =~ %r{^tags\/} }
|
155
155
|
end
|
156
156
|
|
157
157
|
def fix_tags
|
158
158
|
@tags.each do |tag|
|
159
|
-
id = tag.strip.gsub(%r{
|
159
|
+
id = tag.strip.gsub(%r{^tags\/}, '')
|
160
160
|
subject = `git log -1 --pretty=format:"%s" #{tag.strip()}`
|
161
161
|
date = `git log -1 --pretty=format:"%ci" #{tag.strip()}`
|
162
162
|
run_command("GIT_COMMITTER_DATE='#{date}' git tag -a -m '#{subject}' '#{id.strip()}' '#{tag.strip()}'")
|
data/svn2git.gemspec
CHANGED