Bug 54106 - cervisia doesn't recognise cvs dirs using fish
Summary: cervisia doesn't recognise cvs dirs using fish
Status: RESOLVED FIXED
Alias: None
Product: cervisia
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Bernd Gehrmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-05 00:10 UTC by Albert Cervera Areny
Modified: 2003-02-22 12:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Cervera Areny 2003-02-05 00:10:45 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Debian testing/unstable Packages
Compiler:          2.95 
OS:          Linux

The subject says it all. When browsing a remote site through the fish ioslave and try to use cervisia in a CVS directory it says it is not a CVS directory. It works well in local. However after trying this konqueror seems to start doing nasty things such as printing text over other text (in the localization bar and in the file browser) so I need to reestart konqueror.
Comment 1 Christian Loose 2003-02-05 16:53:13 UTC
Hi Albert,

Cervisia isn't network-aware at all. :-(
It removes everything but the path from the URL. So it treats the URL
passed by the fish ioslave as local directory. That's the reason why it says it 
is not a CVS directory. (see CervisiaPart::openURL)

I know nothing about the second error (konqueror). I will see if this mess is 
triggered by Cervisia.

Christian
Comment 2 Christian Loose 2003-02-22 12:27:40 UTC
Subject: KDE_3_1_BRANCH: kdesdk/cervisia

CVS commit by cloose: 

backport fix for BR #54106:
Display error message when user tries to access
a remote repository.

CCMAIL: 54106-done@bugs.kde.org


  M +6 -0      cervisiapart.cpp   1.43.2.3


--- kdesdk/cervisia/cervisiapart.cpp  #1.43.2.2:1.43.2.3
@@ -117,4 +117,10 @@ KConfig *CervisiaPart::config()
 bool CervisiaPart::openURL( const KURL &u )
 {
+    // right now, we are unfortunately not network-aware
+    if( !u.isLocalFile() )
+        KMessageBox::sorry(widget(),
+                           i18n("Cervisia does not support remote repositories."),
+                           "Cervisia");
+    
     slotOpenSandbox( u );
     return true;