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

Re: non-versioned files in repository

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2006-08-07 15:44:25 CEST

On Monday 07 August 2006 10:28, mortee wrote:
> I tried to look up in the documentation, and also searched the internet,
> but haven't found a clear answer to the following question.

See the thread from last friday, called "unversioned files.", it discusses
some such things.

> Is it possible, in the current (or planned future) version of SVN to
> have some files - selectively based on mime type, filename pattern or
> directory - not-versioned in the repository? I mean when those specified
> files are committed, the previous version to be simply discarded and
> overwritten, just like on a regular file server. For the other files,
> usual versioning should take place.

I don't think that is going to happen soon, just think of the scenario that I
update to a different version than HEAD, what should Subversion do? Also,
what if I commit something, should this automatically wipe out those files or
risk them being out of sync. This is pretty hairy to "get right" and not
confuse or surprise anybody.

> I'm considering using SVN as a document management system, and we want
> some files in the repository to be non-versioned but yet shared in the
> same tree with other, versioned files. I mean items like CD images
> attached to articles and stuff like that. We intend this primarily to
> achieve economic disk space usage - but also for some files it might be
> explicitely desired previous versions to be NOT available.

Use a post-commit hook that updates a fileserver. Just splitting your workflow
between 'work space' (which is used to edit things) an 'public space' (used
to publish things) would probably do the job, but I guess you are doing
something like that already...

Uli

****************************************************
Visit our website at <http://www.domino-printing.com/>
****************************************************
This Email and any files transmitted with it are intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any reading, redistribution, disclosure or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient please contact the sender immediately and delete the material from your computer.

E-mail may be susceptible to data corruption, interception, viruses and unauthorised amendment and Domino UK Limited does not accept liability for any such corruption, interception, viruses or amendment or their consequences.
****************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 7 15:47:21 2006

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.