Bug 74751 - JJ: Wish: non recursive checkout
Summary: JJ: Wish: non recursive checkout
Status: RESOLVED FIXED
Alias: None
Product: cervisia
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Christian Loose
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-09 20:44 UTC by Carlos Woelz
Modified: 2004-08-28 18:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Proposed Implementation (6.35 KB, patch)
2004-08-24 23:55 UTC, Sergio Visinoni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Woelz 2004-02-09 20:44:51 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

To compile KDE applications from modules like kdeextragear-1 you need to do in a console application:

cd path/to/working/folder
cvs checkout -l kdeextragear-1
cvs checkout kdeextragear-1/k3b
cvs checkout kdeextragear-1/admin
# -- Now you can compile k3b if you have the required libraries --
# cd kdeextragear-1
# make -f Makefile.cvs
# ./configure
# make
# make install

Currently, it is not possible to replicate this with Cervisia because there is no recursive / non recursive behavior configuration for checkout, only for commit and update.
Comment 1 Sergio Visinoni 2004-08-24 23:55:32 UTC
Created attachment 7258 [details]
Proposed Implementation

This is a patch I made up after some comments from Christian about
the right way to implement it.

The only part I'm not sure about are the 2 commented out calls
to reading / writing the settings for the checkout dialog.
I think we should not save the recursive/non recursive flag but
stay with "recursive" as default.
Comment 2 Christian Loose 2004-08-28 18:16:35 UTC
CVS commit by cloose: 

GUI:

Implemented wish #74751: 
Added support for non-recursive checkouts to the 
checkout dialog. 

Patch by Sergio Visinoni. 

CCMAIL: 74751-done@bugs.kde.org


  M +17 -11    ChangeLog   1.138
  M +1 -1      cervisiapart.cpp   1.152
  M +9 -0      checkoutdlg.cpp   1.38
  M +2 -1      checkoutdlg.h   1.16


--- kdesdk/cervisia/cervisiapart.cpp  #1.151:1.152
@@ -1355,5 +1355,5 @@ void CervisiaPart::slotCheckout()
     DCOPRef cvsJob = cvsService->checkout(dlg.workingDirectory(), dlg.repository(),
                                           dlg.module(), dlg.branch(), opt_pruneDirs,
-                                          dlg.alias(), dlg.exportOnly());
+                                          dlg.alias(), dlg.exportOnly(), dlg.recursive());
 
     // get command line from cvs job

--- kdesdk/cervisia/ChangeLog  #1.137:1.138
@@ -1,21 +1,27 @@
+2004-08-28  Christian Loose  <christian.loose@kdemail.net>
+
+ * Implemented wish #74751:
+   Added support for non-recursive checkouts to the
+   checkout dialog. Patch by Sergio Visinoni.
+
 2004-08-23  Christian Loose  <christian.loose@kdemail.net>
 
-        * Implemented bug #74862:
-          In the checkout dialog, it's now possible to fetch 
-          the existing branch/tag names for a module from the 
-          cvs server.
-        * Fix bug #87830: 
-          Always read the cvs client option from the configuration
-          file even when there is no sandbox open.
+ * Implemented bug #74862:
+   In the checkout dialog, it's now possible to fetch 
+   the existing branch/tag names for a module from the 
+   cvs server.
+ * Fix bug #87830: 
+   Always read the cvs client option from the configuration
+   file even when there is no sandbox open.
 
 2004-07-13  Andr