help with the pre-revprop-change hook?
Fanelli, Paul
pfanelli at crossbeamsys.com
Fri Mar 13 02:36:54 GMT 2009
> -----Original Message-----
> From: Jelmer Vernooij [mailto:jelmer at samba.org]
> Sent: Thursday, March 12, 2009 8:33 PM
> To: Fanelli, Paul
> Cc: bazaar at lists.canonical.com
> Subject: Re: help with the pre-revprop-change hook?
>
> Fanelli, Paul wrote:
> > Jelmer,
> >
> >
> >
> > I was trying to implement the pre-revprop-change hook and I got the
> > following error:
> >
.
.
.
> >
> >
> > I setup my own svn testrepo to test this out.
> >
> >
> >
> > The svn repo is located at /var/www/svn/testrepo. I copied your
> > pre-revprop-change.example file into the hooks directory and renamed
it
> > pre-revprop-change.
> >
> > It is owned by apache and the permissions on the file are 755.
>
> That would explain why it doesn't work :-) The
> pre-revprop-change.example file is not for allowing the modification
of
> svn:author, etc. In order to allow that you need to modify it to allow
> modification of svn:author and svn:date.
Yea, that was silly :).
But on further investigation, I found this entry under Bug 14001 on
launchpad:
------------------
Am Sonntag, den 16.09.2007, 21:05 +0000 schrieb Alex Smith:
> I pushed my bzr branch to an SVN repo with bzr svn-push, and all the
> commits in SVN had the author 'alex' (which is my local username),
> rather than the author of the revision in the bzr branch. For example,
> there are 2 committers in the bzr branch and they all show as 'alex'
in
> the svn repo. Is this intended behaviour?
Yes. This is in fact a Subversion bug - it is not possible in Subversion
to commit revisions under a different username than the one that is
authenticated to the SVN repository.
bzr-svn does store this information in the Subversion repository - in a
bzr-svn specific property - so you can see it with 'bzr log' on the SVN
repository, but it is not visible in, for example, 'svn log'.
Cheers,
Jelmer
--
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
___________________
Is this problem still true?
This is a deal-breaker for my boss. When he does an 'svn log' he wants
to see the author of the work not the pqm user that automatically checks
it in.
I was hoping you could get the bzr:author and replace the svn:log with
it.
-p
More information about the bazaar
mailing list