[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Export a single different file?

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-01-19 17:21:07 CET

Dassi, Nasser wrote:
> Good morning (or afternoon) folks, here are 3 curious questions:
>
> 1. Are there other hooks than the 5-or-so documented (e.g.
> "post-update" or "post-export")?

No.

> 2. Is it readily possible -- or are several lines of pl/py/bat/exe
> script required -- to export the HEAD revision to a given path... with
> the exception of a single file (a single application-config file) being
> exported depending on destination?
>
> ... In other words, an svn:export-ignore command that would allow a 2nd
> line to just export a specific file :o)

What's wrong with exporting and then deleting?
Anything else is going to be significantly more complicated.

> 3. Can an export statement automatically rename a file (1 file exported
> + renamed in 1 line of code), or does the renaming have to happen only
> *after* the export command is accomplished via OS-level renaming?

svn cat url://to/file > newname
(or, from svn 1.2 and later: svn export url://to/file newname)

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 19 17:27:43 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.