On Wednesday 05 January 2011, natara...@aim.com wrote:
> I am writing a scripts to do a tagging and branching using python, my
> question is I want to add a README file on the newly created tag where
> README is a generated file and doesn't exist in WC or the trunk.
You can use "svn copy" and use a WC as source. In that WC, you just add the 
file without committing it.

  svn co ".../branches/foo 4"  "foo 4"
  echo "4.2" >> "foo 4/version"
  svn add "foo 4/version"
  svn cp "foo 4" ".../branches/tags/foo 4.2"

Eventually delete the working copy or revert the changes to it.

Uli

-- 
ML: http://subversion.apache.org/docs/community-guide/mailing-lists.html
FAQ: http://subversion.apache.org/faq.html
Docs: http://svnbook.red-bean.com/


**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at <http://www.dominolaser.com/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten 
bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen 
Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein 
sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, 
weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte 
Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht 
verantwortlich.
**************************************************************************************


Reply via email to