diff options
author | Jonatan Kronqvist <jonatan.kronqvist@itmill.com> | 2011-01-24 12:24:20 +0000 |
---|---|---|
committer | Jonatan Kronqvist <jonatan.kronqvist@itmill.com> | 2011-01-24 12:24:20 +0000 |
commit | d9d3a1c4817441af6a8b12af0b0f9ca950574261 (patch) | |
tree | 123d63a333405b267417dfc9a7a68bff7d9f80ce /build/bin | |
parent | f571fe3216aa1f404bd7f31d74c0d97461aea202 (diff) | |
download | vaadin-framework-d9d3a1c4817441af6a8b12af0b0f9ca950574261.tar.gz vaadin-framework-d9d3a1c4817441af6a8b12af0b0f9ca950574261.zip |
Updated the tagrelease.py script to support local git-svn repositories
svn changeset:17002/svn branch:6.5
Diffstat (limited to 'build/bin')
-rwxr-xr-x | build/bin/tagrelease.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build/bin/tagrelease.py b/build/bin/tagrelease.py index 40bc42a352..8745553596 100755 --- a/build/bin/tagrelease.py +++ b/build/bin/tagrelease.py @@ -22,7 +22,10 @@ def readMap(fin, separator): return values def getSvnInfo(): - pin = os.popen("svn info", "r") + if os.path.exists(".svn"): + pin = os.popen("svn info", "r") + elif os.path.exists(".git"): + pin = os.popen("git svn info", "r") values = readMap(pin, r'^([^:]+):\s*(.+)$') pin.close() return values |