RE: Re: Export behaving badly
"Gale, David" <[email protected]> Mon, 17 Oct 2005 09:52:51 -0400
| Newsgroups | gmane.comp.version-control.subversion.devel,gmane.mail.eyebrowse.user |
|---|---|
| Message-ID | <68B5F4BC6852D244BDDAAE69E31B15F906438657__43576.3012654663$1129564879$gmane$org@intrepid.hypertherm.com> |
Branko Čibej wrote: > Daniel Berlin wrote: > >> So i'm converting over some documentation update scripts from gcc. >> >> They do the following: >> >> Export a bunch of doc files from repo >> build docs >> place them somewhere >> >> export, unfortunately, behaves differently than checkout. If you do >> >> svn export svn://gcc.gnu.org/svn/trunk/gcc/doc/install.texi gcc >> >> > I think export should simply fail for a single file, just like > checkout. We have "svn cat" for that. > > -- Brane > An alternative would be to check the final argument for a trailing / or \, and, if it's present, treat it as an indication that the user wants the export to go into that directory. -D.