Modify

Opened 2 years ago

Closed 2 years ago

#10236 closed defect (invalid)

Problem in displaying Changeset tables while atleast one file changed with newline as last line.

Reported by: anonymous Owned by: otaku42
Priority: normal Component: TracHacks
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

If two or more file are changed and at least one file is changed with new line as last line,while displaying changeset ,if we select "Show 2 lines around each change" then that file changeset table will not appear on UI while when we select "Show the changes in full context" , that file changeset table will appear on UI.
I have attached the screen shots of both cases.

Attachments (3)

Show 2 lines.png (56.3 KB) - added by anonymous 2 years ago.
Show full context.png (44.0 KB) - added by anonymous 2 years ago.
diff.py (10.2 KB) - added by anonymous 2 years ago.

Download all attachments as: .zip

Change History (6)

Changed 2 years ago by anonymous

Changed 2 years ago by anonymous

comment:1 Changed 2 years ago by anonymous

We can display all changed files in both bases after modifying diff.py file inside versioncontrol folder.
The modified method is "_group_opcodes(opcodes, n=3)"
Chack modified file in attachment,

Changed 2 years ago by anonymous

comment:2 Changed 2 years ago by rjollos

You selected TracHacks as the Component. That is probably not right. Which plugin did you intend to report this against?

comment:3 Changed 2 years ago by rjollos

  • Resolution set to invalid
  • Status changed from new to closed

Please reopen if you can assign this ticket to the correct plugin or macro.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.