Commit 862ff8ef authored by maruel@chromium.org's avatar maruel@chromium.org

Use # instead of - for the git hash so it can be filtered out by the try server

Review URL: http://codereview.chromium.org/3007040

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@55225 0039d316-1c4b-4281-b951-d872f2087c98
parent 8b7f1e7b
......@@ -310,7 +310,7 @@ class GIT(object):
def GetPatchName(cwd):
"""Constructs a name for this patch."""
short_sha = GIT.Capture(['rev-parse', '--short=4', 'HEAD'], cwd)[0].strip()
return "%s-%s" % (GIT.GetBranch(cwd), short_sha)
return "%s#%s" % (GIT.GetBranch(cwd), short_sha)
@staticmethod
def GetCheckoutRoot(path):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment