Opened 20 years ago
Closed 20 years ago
#670 closed defect (fixed)
diff view in the changeset view seems to be broken in the trunk
Reported by: | saspicer at mac dot com | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | 0.8 |
Component: | version control/changeset view | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | saspicer@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Just pulled down the trunk and found that diffing seems to be broken in the trunk, I can download the diff, but I can't view it side-by-side…any thoughts ?
Also is there an easy way to un-install the latest version of trac (to back-date to 0.7.1 ?
Attachments (2)
Change History (16)
comment:1 by , 20 years ago
Component: | general → changeset view |
---|
comment:2 by , 20 years ago
Summary: | diff view in the changeset view seems to be broken in the trunk → Also tested and failed with Python 2.3 |
---|
Also tested, and failed with Python 2.3…
comment:3 by , 20 years ago
Summary: | Also tested and failed with Python 2.3 → diff view in the changeset view seems to be broken in the trunk |
---|
comment:5 by , 20 years ago
In trunk the diff is not side by side. The diff is now interleaved.
Instead you get linenumbers on the left for the 2 different files. One file changes is in red and the other is in green.
Not sure if this is what you experience. If not reopen the ticket.
But check for example [805] and if this looks the same for your installation it is how it should look like now. There might be an option in trac.ini to change the layout.
The downloadable diff seems to be in patch format.
comment:6 by , 20 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:7 by , 20 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Actually, I am unable to see *any* diff view, the formatting ends with the boxes "Unmodified
Added
Removed
Modified "
Not even the name of the file is presented. This is under Internet Explorer, Safari, and FireFox. The trac server is a RedHat Enterprise Workstation 3, Update 2 box. I've looked through the code, and I'm really at a loss as to why things don't work…what's the best method for debuging the setup ?
comment:9 by , 20 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Sean
do you see the diff on the project site? If so it is a problem on your side and this ticket is invalid.
I had the same problem, but it was due to the installation when I upgraded. I dont remember exactly why I had problems.
But make sure that you put the right env variables in you apache conf files.
I use trac on suse9.0 and see the diff with both IE, FireFox.
Ask on the mailinglist.
comment:10 by , 20 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Please do not resolve tickets as anonymous…
comment:11 by , 20 years ago
I can see the diff on the project site…I did the install from scratch, not an upgrade. I'm really trying to understand what could be wrong, here are the environment variables:
# Trac need to know where the database is located <Location "/cgi-bin/trac.cgi">
SetEnv TRAC_ENV "/trac/gp SetEnv LD_LIBRARY_PATH "/usr/lib:/usr/local/lib" SetEnv PYTHONPATH "/usr/local/lib/svn-python"
</Location>
comment:12 by , 20 years ago
I think my problem went away when I started to use the trunk version.
Check-out the trunk version and try with that. That is what they use on the trac project page.
comment:13 by , 20 years ago
If you read the initial ticket, the trunk is the version I'm operating with… —sean
comment:14 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Sean, trunk now correctly uses -U num
instead of -u num
so it should now work with diffutils ≥ 2.8.1 as well. Good catch.
I should add that I'm using the following:
Subversion 1.0.6 Python 2.2 trac trunk