#126: patch-name-format empty doesn't preserve changelog
---------------------+------------------------------------------------------
  Reporter:  zooko   |       Owner:  lele      
      Type:  defect  |      Status:  reopened  
  Priority:  major   |   Milestone:  VersionOne
 Component:  tailor  |     Version:  0.9       
Resolution:          |    Keywords:            
---------------------+------------------------------------------------------
Changes (by HenryN):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Changeset [1359] has not fixed it. Please don't add the revision number,
 if the user wand to leave empty it.
 {{{
 --- vcpx/tailor.py      f34f8be23a98247425a9112030ec2c04a71043b2
 +++ vcpx/tailor.py      5e6ff28c5f79ede145e41570a96c91cb6b75dd1e
 @@ -135,8 +135,9 @@ class Tailorizer(Project):

          pname_format = pconfig('patch-name-format', raw=True)
          if pname_format is not None:
 -            SynchronizableTargetWorkingDir.PATCH_NAME_FORMAT =
 pname_format.strip() or '%(revision)s'
 +            SynchronizableTargetWorkingDir.PATCH_NAME_FORMAT =
 pname_format.strip()
          SynchronizableTargetWorkingDir.REMOVE_FIRST_LOG_LINE = pconfig
 ('remove-first-log-line')
 +
          Changeset.REFILL_MESSAGE = pconfig('refill-changelogs')

          try:
 }}}

-- 
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/126#comment:2>
Tailor <http://progetti.arstecnica.it/tailor>
An inter-VCs changeset exchanger
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to