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

Re: [ANNOUNCE] svnrdump: A new dumper/ loader in trunk

From: Ramkumar Ramachandra <artagnon_at_gmail.com>
Date: Fri, 20 Aug 2010 10:29:15 +0530

Hi Jon,

Jon Foster writes:
> Daniel Shahaf wrote:
> > Yes:
> >
> > svn propset --revprop svn:author
> > svn propset --revprop svn:date
> >
>
> But not by default. Changing revprops has to be explicitly enabled by
> the repository administrator. To do this, the server admin has to
> explicitly create a "pre-revprop-change" hook, and set it to allow the
> changes. Many "pre-revprop-change" scripts will disallow changes to
> "svn:date" and "svn:author", although they might allow other revprops
> such as "svn:log" to be edited.
>
> http://svnbook.red-bean.com/nightly/en/svn.ref.reposhooks.pre-revprop-ch
> ange.html

True. `svnrdump load` fails in this case just like svnsync does:
svnrdump: Repository has not been enabled to accept revision propchanges;
ask the administrator to create a pre-revprop-change hook

We didn't have to write anything explicitly to handle this.

-- Ram
Received on 2010-08-20 07:01:39 CEST

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.