Change 11363

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into //guest/perforce_software/cbd/dev/triggers
Request Review
Download .zip
SSTemplateUpdate.py:

* Added exception handling for case where an exception is thrown
in the re.match() block when checking to see if the changelist
description has the NO_CBD tag.

* Generiziced some comments.

* Started to add logic to avoid stripping the 'import @' entry if the
revision specifier is a changelist nubmer, since import@
as of 2014.1 now supports this.  But then adjusted to avoid writing
@change numbers in the revision specifiers to avoid potential user
confusion when change specifiers are made in more than one place (i.e.
in the *.cbdsst file and the live server stream spec).

There is still the possibility users might add @change values to
stream specs directly.  Do we need a stream spec validator to prevent
users from adding @change to import lines, and if possible messaging
the user and letting them know they need to update the *.cbdsst file
instead if they try adding @change to import entries on the live
stream spec?
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
SSTemplateUpdate.py#2
Loading...
Tip: Use n and p to cycle through the changes.