#111: Xml parse exception because of magic-looking string in patch name
---------------------+------------------------------------------------------
  Reporter:  zooko   |       Owner:  lele      
      Type:  defect  |      Status:  new       
  Priority:  major   |   Milestone:  VersionOne
 Component:  tailor  |     Version:  0.8       
Resolution:          |    Keywords:            
---------------------+------------------------------------------------------
Comment (by zooko):

 {{{
 [EMAIL PROTECTED]:~/trees/trunk$ P="Use \${root} to find pyopts file."
 [EMAIL PROTECTED]:~/trees/trunk$ echo $P
 Use ${root} to find pyopts file.
 [EMAIL PROTECTED]:~/trees/trunk$ PR=`python -c "import re ; print
 re.escape(\"${P}\").replace(\"\>\", \">\").replace(\"\<\",
 \"<\").replace(\"\\\\\'\", \"'\")"`
 [EMAIL PROTECTED]:~/trees/trunk$
 [EMAIL PROTECTED]:~/trees/trunk$
 [EMAIL PROTECTED]:~/trees/trunk$ echo $PR
 Use\ \$\{root\}\ to\ find\ pyopts\ file\.
 [EMAIL PROTECTED]:~/trees/trunk$ darcs changes -p"${PR}" --xml --summ
 <changelog>
 <patch author='[EMAIL PROTECTED]' date='20070304195847' local_date='Sun
 Mar  4 11:58:47 PST 2007' inverted='False' hash='20070304195847-441fa-
 c412124e2c5c71ac0e0657d819517e9ae12a05fd.gz'>
         <name>Use ${root} to find pyopts file.</name>
     <summary>
     <modify_file>
     trunk/bin/allmydata<removed_lines num='2'/><added_lines num='2'/>
     </modify_file>
     </summary>
 </patch>
 </changelog>
 }}}

-- 
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/111#comment:3>
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