Opened 10 years ago

Closed 10 years ago

#249 closed defect (fixed)

build brand potentially wrong revision

Reported by: abwillis Owned by:
Priority: minor Milestone:
Component: Unknown Version: Server 3.6.x
Keywords: Cc:

Description

When doing a build brand you can end up with the wrong revision if you are not at the latest revision. The query being done pulls the current revision and not the local revision.

Index: build.cmd
===================================================================
--- build.cmd	(revision 862)
+++ build.cmd	(working copy)
@@ -368,7 +368,7 @@
 NeedBranding: procedure expose revision brand build_parms
     svninfo = "svninfo"
     svninfo_tmp = "svninfo_tmp"
-    address cmd 'svn status -q -u | grep "^Status against revision:" | sed -e "s/Status against revision: *//">'svninfo_tmp
+    address cmd 'svn info | grep "^Revision:" | sed -e "s/Revision: *//">'svninfo_tmp
     revision = strip(translate(linein(svninfo_tmp)))
     ok = stream(svninfo_tmp,'c','close')
     revision_old = strip(translate(linein(svninfo)))

Change History (1)

comment:1 by Silvan Scherrer, 10 years ago

Resolution: fixed
Status: newclosed

fixed in r876 thx for finding

Note: See TracTickets for help on using tickets.