From 862ff8ef8d3862f6f25430404aa5fab8882154dd Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Fri, 6 Aug 2010 15:29:16 +0000 Subject: [PATCH] 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 --- scm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scm.py b/scm.py index 6acac8201..79432423b 100644 --- a/scm.py +++ b/scm.py @@ -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):