Author: loonycyborg
Date: Fri Sep 26 17:25:50 2008
New Revision: 29694
URL: http://svn.gna.org/viewcvs/wesnoth?rev=29694&view=rev
Log:
Fixed appending M to revision string for git.
Modified:
trunk/SConstruct
Modified: trunk/SConstruct
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=29694&r1=29693&r2=29694&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Fri Sep 26 17:25:50 2008
@@ -316,7 +316,7 @@
# if git-svn can't find HEAD it's a local commit
if Popen(Split("git-svn find-rev HEAD"),
stdout=PIPE).communicate()[0].rstrip("\n") == "":
env["svnrev"] += "L"
- if Popen(Split("git diff --exit-code --quiet")).returncode == 1:
+ if Popen(Split("git diff --exit-code --quiet")).wait() == 1:
env["svnrev"] += "M"
except:
env["svnrev"] = ""
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits