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

Re: Commiting file which contains the next revision number

From: edA-qa <edA-qa_at_disemia.com>
Date: 2004-12-19 08:17:54 CET

kfogel@collab.net wrote:
> What you want is, unfortunately, impossible :-).
> See http://subversion.tigris.org/issues/show_bug.cgi?id=958

I had an idea on how to implement this:

Since one can create a file that has any number of properties (assuming
these are fairly cheap) and one can create any number of files (also
assuming this are cheap), could one not do this:

        1. Add a tag called %Unique:Property% where Propery can be any
supported tag.
        2. During commit, before finally writing the file to the system, a
UNIQUE file is created which stores all the Unique:Properties
        3. The original Unique properties are replaced with a link to this file
(this is all still fine before the final post, no causality broken yet ;)
        4. The Unique file is marked readonly (in some fashion) so that it can
never be modified again.
        5. On checkout/update the %Unique:Property% is updated with the
property stored in that unique file

Thus, to do my initial request, you would enter a tag like this:


Which, if you follow my steps, will end up being the next revision
number for commit, and will never again change.

Thoughts, suggestions?

edA-qa mort-ora-y
Idea Architect
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Dec 19 08:20:06 2004

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.