Tags:
create new tag
view all tags

Bug: Rdiff Error: No such file or directory

If you do a Diff (rdiff script) on a topic that has no RCS revision file you get this error message instead of the topic text:

co: /file/path/to/twiki/data/Web/RCS/TopicName.txt,v: No such file or directory

The spec is to show the topic text in a green Added: section. This used to work in previous TWiki versions.

Test case

Create a topic (browser), remove the .txt,v file (telnet), and do a Diff (browser)

Environment

TWiki version: 01 Feb 2003
TWiki plugins: N/A
Server OS: N/A
Web server: N/A
Perl version: N/A
Client OS: N/A
Web Browser: N/A

-- PeterThoeny - 29 Mar 2003

Follow up

the current system does not allow error returns very well. I'm going to refactor a few things to move the actual parsing into Store and its subclasses and resolve this..

-- SvenDowideit - 29 Mar 2004

mmmm, this is really a problem throughout all the code Store frown I'm feeling like chickening out fixing this now, and would like to defer the change to Dakar, when we should take the time to redo the API to use a consistent error mechanism.

(I could fix just this instance of the probem, but get old revision also fails, and there's no error return from that.)

If you dissagree, please speakup, the change will require a large amount of testing and coding..

-- SvenDowideit - 12 May 2004

Fix record

There is no co error, but diff doesn't show green text in the version on DevelopBranch.

-- CrawfordCurrie - 21 Feb 2005

I've tried this in various modes now (broken meta, revs but no meta, meta but no revs) and it responds robustly (though not particularly friendly). So I'm setting this to NeedsARethink. If it re-emerges the bug can be reset.

-- CrawfordCurrie - 26 Mar 2005

ChangeProposalForm
TopicClassification BugReport
TopicSummary If you do a Diff (rdiff script) on a topic that has no RCS revision file you get this error message instead of the topic text:
CurrentState NeedsARethink
OutstandingIssues

RelatedTopics

InterestedParties

ProposedFor

TWikiContributors

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2005-03-26 - CrawfordCurrie
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.