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

Re: [ENHANCEMENT] force commit without changes

From: Artem Shvorin <ytse_at_pisem.net>
Date: 2005-08-26 14:49:45 CEST

, 26/08/2005 11:02 +0100, Malcolm Rowe :
> On Fri, Aug 26, 2005 at 01:38:42PM +0400, Artem Shvorin wrote:
> > I'd like to be able to commit just a log without changes. CVS has such
> > feature:
> > cvs ci -f files...
> >
> > Are there any reason not to implement similar option for subversion?
>
> If I understand correctly, the Subversion backend can already handle a
> revision with no changes (though I don't know if it can handle file-changes
> with empty deltas, which I think you'd need to associate the revision
> with the files), though I don't think you are supposed to be able to produce
> such a revision with the current libraries/client...
>
> But what's the use case for such a feature anyway? The only time I've ever
> seen it used is to be able to add a note to say something like 'last checkin
> was for bug xxx', and that can be more easily done in Subversion by editing
> the svn:log revision property.

The default repository settings discourage from modifying the revision
properties (we have to toggle the hook script or use svnadmin). This
seems to be ok, since history is being lost. I agree that subj feature
is not very useful, but I hope it's easy enough to implement.

-- 
Artem Shvorin <ytse@pisem.net>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 26 14:50:32 2005

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

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