[darcs-users] darcs get --partial still broken

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Mon Aug 8 18:37:32 UTC 2005


Hi dear darcs users and developers,

I'm experimenting problems with --partial option. I saw a fix in changelog 
some days ago, but I still can't get a partial copy of darcs at tag 1.0.3 for 
example, while it works perfectly with a full copy :

[glehmann at pcconf5 tmp]$ darcs/darcs get --partial --tag 1.0.3 --verbose 
http://www.abridgegame.org/repos/darcs/
Welcome to the darcs darcs repository!

This is the stable release branch.
**********************
Reading checkpoint...
Directory '/home/glehmann/tmp/darcs' already exists, creating repository as 
'/home/glehmann/tmp/darcs_1'
Getting the inventory...
Applying patches to the "working" directory...
Applying patch Sun Jul 31 15:36:12 CEST 2005  David Roundy 
<droundy at abridgegame.org>
  * fix bug when editing long comment leaves empty file.
Patch applies cleanly...
Applying patch Sun Jul 31 15:39:42 CEST 2005  David Roundy 
<droundy at abridgegame.org>
  * add changelog entry for bug #224.
Patch applies cleanly...
Applying patch Sun Jul 31 20:54:06 CEST 2005  David Roundy 
<droundy at abridgegame.org>
  * fix documentation on --reorder-patches.
Patch applies cleanly...
Applying patch Tue Mar 22 23:10:27 CET 2005  Kannan Goundan 
<kannan at cakoose.com>
  * Use simpler curl_version() function to get version string.
Patch applies cleanly...
Applying patch Sun Jul 31 21:07:56 CEST 2005  David Roundy 
<droundy at abridgegame.org>
  * bump version number, since I just made a release.
Patch applies cleanly...
Applying patch Tue Aug  2 02:21:16 CEST 2005  Matt Lavin 
<matt.lavin at gmail.com>
  * fix for bug 463 (with new test)
Patch applies cleanly...
Applying patch Mon Aug  1 19:39:25 CEST 2005  v.haisman at sh.cvut.cz
  * Bump up AC_PREREQ version to 2.59.
Patch applies cleanly...
Applying patch Tue Aug  2 21:28:33 CEST 2005  peter at zarquon.se
  * Make curl exit with error on failed downloads
Patch applies cleanly...
Applying patch Thu Aug  4 04:11:30 CEST 2005  Matt Lavin 
<matt.lavin at gmail.com>
  * simplify fix for bug 463; reuse /// from FilePathUtils
Patch applies cleanly...
Applying patch Thu Aug  4 15:06:10 CEST 2005  David Roundy 
<droundy at abridgegame.org>
  * fix obsolete error explanation in get_extra bug.
Patch applies cleanly...
Applying patch Thu May 26 15:54:21 CEST 2005  Mark Stosberg 
<mark at summersault.com>
  * Explain the missing ChangeLog
  
  It should be easy for casual users and contributors to view and update the
  ChangeLog.
  
  Providing a README file in the place where people are most likely to look
  provides a very useful clue.
  
  However, it's still not clear to me exactly how the system works, so I have
  left a stub to complete that documentation.
  
      Mark
  
Patch applies cleanly...
Applying patch Sun Aug  7 00:59:01 CEST 2005  David Roundy 
<droundy at abridgegame.org>
  * add description of how to add changelog entries to ChangeLog.README.
Patch applies cleanly...
Applying patch Sun Jul 31 15:26:24 CEST 2005  David Roundy 
<droundy at abridgegame.org>
  * changelog entry for bug #189.
Patch applies cleanly...
Applying patch Sat Aug  6 23:21:48 CEST 2005  David Roundy 
<droundy at abridgegame.org>
  * add changelog entry for bug #477.
Patch applies cleanly...
Applying patch Fri Jul 29 03:55:39 CEST 2005  v.haisman at sh.cvut.cz
  * Add --with-static-libs configure flag for linking static versions of 
libraries.
Patch applies cleanly...
Applying patch Sun Aug  7 01:11:17 CEST 2005  David Roundy 
<droundy at abridgegame.org>
  * clarify help text for 'd' in SelectPatches.
Patch applies cleanly...
Applying patch Mon Jun 27 14:40:11 CEST 2005  jani at iv.ro
  * Do not ask confirmation for revert -a
  Giving -a as a parameter means the user expects all changes to be reverted.
  Just like for unrevert and record go ahead with it do not ask for 
confirmation.
Patch applies cleanly...
Applying patch Thu Aug  4 12:49:29 CEST 2005  David Roundy 
<droundy at abridgegame.org>
  * add obliterate command as alias for unpull.
Patch applies cleanly...
Applying patch Thu Aug  4 03:36:49 CEST 2005  Matt Lavin 
<matt.lavin at gmail.com>
  * show patch numbers instead of dots on get
Patch applies cleanly...
Applying patch Sat Aug  6 23:18:28 CEST 2005  David Roundy 
<droundy at abridgegame.org>
  * accept command-line flags in any order.
  In particular, we no longer require that --flags precede filename and
  repository arguments.
Patch applies cleanly...
Applying patch Sun Aug  7 00:26:31 CEST 2005  David Roundy 
<droundy at abridgegame.org>
  * add code to read patch bundles with added CRs.
  I think this'll address bug #291.
Patch applies cleanly...
Applying patch Fri Aug  5 04:08:30 CEST 2005  Matt Lavin 
<matt.lavin at gmail.com>
  * Use apply_patch_with_feedback from check and repair commands
Patch applies cleanly...
Applying patch Sun Aug  7 05:10:38 CEST 2005  Matt Lavin 
<matt.lavin at gmail.com>
  * remove unused opts argument from apply_patches and 
apply_patches_with_feedback
Patch applies cleanly...
Applying patch Fri Jul 29 05:25:43 CEST 2005  Jason Dagit 
<dagit at codersbase.com>
  * changed ***DARCS*** to ***END OF DESCRIPTION***
Patch applies cleanly...
Applying patch Sun Aug  7 13:26:44 CEST 2005  David Roundy 
<droundy at abridgegame.org>
  * improve EOD message a tad.
  This change also introduces a "wrapped_text" function in Printer, so we
  won't have to worry so often about manually wrapping lines.
Patch applies cleanly...
Applying patch Mon Aug  8 13:48:00 CEST 2005  David Roundy 
<droundy at abridgegame.org>
  * add several changelog entries.
Patch applies cleanly...
Applying patch Mon Aug  8 13:48:44 CEST 2005  David Roundy 
<droundy at abridgegame.org>
  * clean up Printer.wrap_text.
Patch applies cleanly...
Syncing the repository...
Going to specified version...
darcs: failed to read patch in get_extra:
Sun Jul 31 14:04:58 CEST 2005  David Roundy <droundy at abridgegame.org>
  * add changelog entry and building darcsgit section to manual.
Perhaps this is a 'partial' repository?
[glehmann at pcconf5 tmp]$



[glehmann at pcconf5 tmp]$ darcs get --tag 1.0.3 
http://www.abridgegame.org/repos/darcs/
Welcome to the darcs darcs repository!

This is the stable release branch.
**********************
Directory '/home/glehmann/tmp/darcs' already exists, creating repository as 
'/home/glehmann/tmp/darcs_3'
Copying patch 3463 of 3463... done!
Applying patches to the "working" directory...
........[snip some dots]...
Finished getting.
[glehmann at pcconf5 tmp]$ cd darcs_3
[glehmann at pcconf5 darcs_3]$ darcs changes | head
Tue May 24 23:51:27 CEST 2005  Tomasz Zielonka <tomasz.zielonka at gmail.com>
  tagged 1.0.3

Tue May 24 23:51:15 CEST 2005  Tomasz Zielonka <tomasz.zielonka at gmail.com>
  * bump version to 1.0.3

Wed May 11 18:27:56 CEST 2005  Tommy Pettersson <ptp at lysator.liu.se>
  * restructure best_practices, remove Basics and raise subsections one level

Fri May 20 13:23:58 CEST 2005  David Roundy <droundy at abridgegame.org>
[glehmann at pcconf5 tmp]$



In my case, bug with partial repository can quickly be a major issue for my 
biggest project. 
I use 4 repositories :
+ (A): a copy of a CVS repository done with tailor.py, a full repository
+ (B): a branch of A with some patch maid by me. It's a full repository with 
checkpoints. Most of patches comes from A after have been tested in a working 
copy.
+ (C): my main working copy of B is a full repository without checkpoints: I 
use it from the begining
+ (D): a new partial copy of B on a new host

Most of the time, it works very well :-)

But I recently noticed 2 problems: 
+ I can't pull patches from A to D. Some patches are missing.
+ I can't pull patches from D to C. Checkpoint is missing.

I will have suppose I will have to copy checkpoints from B into C to be able 
to import patches I have made in D, and will continue to pull A into C 
instead of pulling them into D, but it began to be really complicated !

I think this bug should be fixed for the 1.0.4 release :-)

Regards,

Gaetan
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20050808/1ac80e45/attachment.pgp 


More information about the darcs-users mailing list