override svn:author when pushing to local repository

Bug #140001 reported by Alex Smith
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Low
Jelmer Vernooij

Bug Description

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?

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 140001] SVN commit authors not the same as bzr commit authors

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 <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Revision history for this message
Alex Smith (aejsmith) wrote : Re: SVN commit authors not the same as bzr commit authors

Ah :/ That's a bit of a bummer - see, I'm using bzr-svn to mirror my repo to SVN for Ohloh, and that is resulting in incorrect developer statistics to show in Ohloh. Oh well, thanks anyway

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 140001] Re: SVN commit authors not the same as bzr commit authors

  status invalid

--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: New → Invalid
Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 140001] Re: SVN commit authors not the same as bzr commit authors

On second thought, we may be able to work around this when the
repository is local. I will check if this is possible using the
python-subversion bindings.

Reopening for now.

  summary "override svn:author when pushing to local repository"
  status triaged
  importance low

Cheers,

Jelmer

--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Changed in bzr-svn:
importance: Undecided → Low
status: Invalid → Triaged
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
assignee: nobody → jelmer
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
milestone: none → 0.4.5
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

the same is true for svn:date. could probably fix this after the fact

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
milestone: 0.4.5 → 0.4.4
status: Triaged → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.