Edgewall Software
Modify

Opened 14 years ago

Last modified 9 years ago

#10183 new defect

How to browser sources which folders have been changed and/or removed?

Reported by: zheng.bangyou@… Owned by:
Priority: normal Milestone: next-major-releases
Component: version control/browser Version: 0.12.2
Severity: normal Keywords: newcache
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When I try to browser sources which folders have been changed and/or removed, there is an error message:

No node "/path/to/oldfile" at revision "head revision number".

Could I browser these kind of sources through Trac browser?

Thank you!

Attachments (0)

Change History (7)

comment:1 by Remy Blank, 14 years ago

Resolution: worksforme
Status: newclosed

Are you really using 0.10? It has been unsupported for a long time. Please upgrade to at least 0.11.7, or better 0.12.2, and reopen if the issue persists (and you may get better help on the MailingList and / or IrcChannel).

comment:2 by zheng.bangyou@…, 14 years ago

Resolution: worksforme
Status: closedreopened

Do you mean Trac not support to browser a changed and/or removed node?

Sorry, I didn't give more detail information. I use Trac 0.12.2.

I browser a revision which folder name has been changed. Then I got a error message like this:

No node "path/to/old-revision" at revision "head revision number"

You can search in the repository history to see if that path existed but was later removed.

Trac 	0.12.2
FullBlog 	0.1.1-r9430
Genshi 	0.6
Pygments 	1.4
pysqlite 	2.4.1
Python 	2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
pytz 	2010h
setuptools 	0.6c11
SQLite 	3.5.9
Subversion 	1.6.15 (r1038135)
jQuery:	1.4.2

comment:3 by Remy Blank, 14 years ago

Component: generalversion control/browser
Version: 0.10-stable0.12.2

That's what the version field is for :)

I still have difficulty understanding what you are trying to do, and what doesn't work. Do you mean that a file has been renamed, and when you browse to the old name at the current revision, you get the error? Yes, that's intentional, the file doesn't exist at that revision. But there should be a link that allows searching for the file in previous revisions.

comment:4 by zheng.bangyou@…, 14 years ago

Thank you for your quick reply. You are right. I have a file/folder which has been renamed. I got a error message when I try to browse this old file. Yes, I have found a link to search that file.

I have wrote a plugin TracSuposePluginto search whole history of repository with SupoSE. I would like to browse contents of some renamed file from search results. But I got that error message.

It would be wonderful if Trac could show the contents of renamed files. Currently, TortoiseSVN is my only way to find those files.

Thanks again.

comment:5 by Christian Boos, 13 years ago

Milestone: unscheduled

For now we have the link and looking back for a deleted or renamed path has to be an explicit decision by the user, due to the very slow implementation of this feature.

The day this can be achieved efficiently, we might consider going back implicitly to the last revision reachable on the given path.

comment:6 by Christian Boos, 13 years ago

Keywords: newcache added
Milestone: unschedulednext-major-0.1X

comment:7 by Ryan J Ollos, 9 years ago

Status: reopenednew

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.