Fixed appending M to revision string for git.
This commit is contained in:
parent
20a469cfa5
commit
c7bfb62092
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ if os.path.exists('.git'):
|
|||
# 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"] = ""
|
||||
|
|
Loading…
Add table
Reference in a new issue