Edgewall Software

Opened 7 years ago

Last modified 7 years ago

#12655 closed defect

BrowserModule displays wrong author in SVN keywords on HEAD Revision — at Version 3

Reported by: markusbloch@… Owned by:
Priority: normal Milestone: 1.0.14
Component: version control Version: 1.2
Severity: normal Keywords: svn:keywords
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Jun Omae)

Hello,

I'm responsible for the Trac environment located at https://svn.fhem.de/trac/

We're using only the BrowserModule to display our SVN repository.

The $Id$ replacement always contains the wrong author when opening the file content in HEAD revision.

Example: The following file was last modified by me (markusbloch) at revision 11987, but the displayed author in $Id$ contains the author name of the latest revision HEAD and not revision 11987 (were this file was last modified)

my file: https://svn.fhem.de/trac/browser/trunk/fhem/FHEM/98_version.pm HEAD author: https://svn.fhem.de/trac/changeset/HEAD/

Only when explicitly selecting my file at revision 11987, the author is displayed correctly: https://svn.fhem.de/trac/browser/trunk/fhem/FHEM/98_version.pm?rev=11987

So when browing the repository, all files were displayed by Trac with the author name of the latest commit (HEAD) no matter if the file was modified during the latest commit or not.

This problem also occurs when using the ZIP download functionality for trunk. All files contains $Id$ with the author of the latest commit.

Our project relies on correct $Id$ replacement, because we have about 60 developers, were each is commiting changes to specific files only. The developed application uses the author names from $Id$.

The problem could be verified on Trac 1.0.2 (used at svn.fhem.de) and latest Trac 1.2 (virtual machine on my laptop)

Please use the correct author name of the last change revision per file and not the author name of HEAD revision.

Please let me know, if I can help you.

Kind Regards

Markus Bloch

Change History (5)

comment:1 by markusbloch@…, 7 years ago

I wanted to attach some screenshots for clarification but your Trac (trac.edgewall.org) raises an error when click on file upload.

IndexError: pop from empty list

GET: /attachment/ticket/12655/
Last edited 7 years ago by Ryan J Ollos (previous) (diff)

comment:2 by anonymous, 7 years ago

Description: modified (diff)

in reply to:  1 comment:3 by Jun Omae, 7 years ago

Description: modified (diff)
Keywords: svn:keywords added; svn browser author removed
Milestone: undecidednext-stable-1.0.x

Replying to markusbloch@…:

I wanted to attach some screenshots for clarification but your Trac (trac.edgewall.org) raises an error when click on file upload.

That's #11184. Please try to upload with English language.

by markusbloch@…, 7 years ago

wrong author name

by markusbloch@…, 7 years ago

correct username

Note: See TracTickets for help on using tickets.