commit | 110703c83d8489c129bcd3a8c14050a9a2df40b6 | [log] [tgz] |
---|---|---|
author | bobv@google.com <bobv@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed Mar 18 21:36:41 2009 +0000 |
committer | bobv@google.com <bobv@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed Mar 18 21:36:41 2009 +0000 |
tree | 1305320af5df7bdbef42cae9b5c64279d04de4c9 | |
parent | 0e3bb85d1e212cab79981b48aaae9c799a54ccd7 [diff] |
Fix sentinal file names for change branches. Patch by: bobv Review by: scottb (per IM conversation, TBR) git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@5043 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/build-tools/ant-gwt/src/com/google/gwt/ant/taskdefs/SvnInfo.java b/build-tools/ant-gwt/src/com/google/gwt/ant/taskdefs/SvnInfo.java index 10d7b87..605658e 100644 --- a/build-tools/ant-gwt/src/com/google/gwt/ant/taskdefs/SvnInfo.java +++ b/build-tools/ant-gwt/src/com/google/gwt/ant/taskdefs/SvnInfo.java
@@ -282,7 +282,7 @@ getProject().setNewProperty(outprop, info.branch + "@" + info.revision); if (fileprop != null) { getProject().setNewProperty(fileprop, - info.branch + "-" + info.revision.replaceAll(":", "-")); + info.branch.replace('/', '-') + "-" + info.revision.replace(':', '-')); } }