Wed Aug 10 01:09:51 CEST 2005  Juliusz Chroboczek <[EMAIL PROTECTED]>
  * Split --relink into --relink and --relink-pristine.
  Relinking the pristine tree breaks handling of timestamps, which causes
  Darcs to compare file contents.  It should not be used unless you know
  what you are doing.
New patches:

[Split --relink into --relink and --relink-pristine.
Juliusz Chroboczek <[EMAIL PROTECTED]>**20050809230951
 Relinking the pristine tree breaks handling of timestamps, which causes
 Darcs to compare file contents.  It should not be used unless you know
 what you are doing.
] {
hunk ./DarcsArguments.lhs 58
-                        sibling, flagsToSiblings, relink,
+                        sibling, flagsToSiblings, relink, relink_pristine,
hunk ./DarcsArguments.lhs 924
-relink, sibling :: DarcsOption
+relink, relink_pristine, sibling :: DarcsOption
hunk ./DarcsArguments.lhs 928
+relink_pristine = DarcsNoArgOption [] ["relink-pristine"] RelinkPristine
+                  "relink pristine tree (not recommended)"
+
hunk ./DarcsFlags.lhs 63
-               | Sibling String | Relink
+               | Sibling String | Relink | RelinkPristine
hunk ./Optimize.lhs 28
-                                   TagName, CheckPoint, Relink ),
+                                   TagName, CheckPoint,
+                                   Relink, RelinkPristine ),
hunk ./Optimize.lhs 31
-                        uncompress_nocompress, relink, sibling,
+                        uncompress_nocompress,
+                        relink, relink_pristine, sibling,
hunk ./Optimize.lhs 87
-                                                 sibling, relink]}
+                                                 sibling, relink,
+                                                 relink_pristine ]}
hunk ./Optimize.lhs 99
-    when (Relink `elem` opts) $ do_relink opts
+    when (Relink `elem` opts || (RelinkPristine `elem` opts)) $
+        do_relink opts
hunk ./Optimize.lhs 256
-The \verb|--relink| option causes Darcs to relink files from a
-sibling.  See Section \ref{disk-usage}.
+The \verb|--relink| and \verb|--relink-pristine| options cause Darcs
+to relink files from a sibling.  See Section \ref{disk-usage}.
hunk ./Optimize.lhs 268
-          else do putVerbose "Relinking patches..."
-                  patches <-
-                      (liftM list_slurpy_files) (slurp "_darcs/patches")
-                  maybeRelinkFiles siblings patches "_darcs/patches"
-                  pristine <- identifyPristine
-                  case (pristineDirectory pristine) of
-                      (Just d) -> do
-                          putVerbose "Relinking pristine tree..."
-                          c <- (liftM fromJust) (slurpPristine pristine)
-                          maybeRelinkFiles siblings (list_slurpy_files c)
-                              d
-                      Nothing -> return ()
+          else do when (Relink `elem` opts) $
+                      do putVerbose "Relinking patches..."
+                         patches <-
+                           (liftM list_slurpy_files) (slurp "_darcs/patches")
+                         maybeRelinkFiles siblings patches "_darcs/patches"
+                  when (RelinkPristine `elem` opts) $
+                      do pristine <- identifyPristine
+                         case (pristineDirectory pristine) of
+                             (Just d) -> do
+                                 putVerbose "Relinking pristine tree..."
+                                 c <- (liftM fromJust) (slurpPristine pristine)
+                                 maybeRelinkFiles
+                                     siblings (list_slurpy_files c) d
+                             Nothing -> return ()
hunk ./darcs.lhs 620
+
+Additional space savings can be achieved by relinking files in the
+pristine tree (see below) by using the \verb|--relink-pristine| flag.
+However, doing this prevents Darcs from having precise timestamps on
+the pristine files, which carries a moderate performance penalty.
}

Context:

[make repair work on partial repositories.
David Roundy <[EMAIL PROTECTED]>**20050805113001] 
[Cleanup --verbose handling in repair command
Matt Lavin <[EMAIL PROTECTED]>**20050805020630] 
[clean up Printer.wrap_text.
David Roundy <[EMAIL PROTECTED]>**20050808114844] 
[add several changelog entries.
David Roundy <[EMAIL PROTECTED]>**20050808114800] 
[improve EOD message a tad.
David Roundy <[EMAIL PROTECTED]>**20050807112644
 This change also introduces a "wrapped_text" function in Printer, so we
 won't have to worry so often about manually wrapping lines.
] 
[changed ***DARCS*** to ***END OF DESCRIPTION***
Jason Dagit <[EMAIL PROTECTED]>**20050729032543] 
[remove unused opts argument from apply_patches and apply_patches_with_feedback
Matt Lavin <[EMAIL PROTECTED]>**20050807031038] 
[Use apply_patch_with_feedback from check and repair commands
Matt Lavin <[EMAIL PROTECTED]>**20050805020830] 
[add code to read patch bundles with added CRs.
David Roundy <[EMAIL PROTECTED]>**20050806222631
 I think this'll address bug #291.
] 
[accept command-line flags in any order.
David Roundy <[EMAIL PROTECTED]>**20050806211828
 In particular, we no longer require that --flags precede filename and
 repository arguments.
] 
[show patch numbers instead of dots on get
Matt Lavin <[EMAIL PROTECTED]>**20050804013649] 
[add obliterate command as alias for unpull.
David Roundy <[EMAIL PROTECTED]>**20050804104929] 
[Do not ask confirmation for revert -a
[EMAIL PROTECTED]
 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.
] 
[clarify help text for 'd' in SelectPatches.
David Roundy <[EMAIL PROTECTED]>**20050806231117] 
[Add --with-static-libs configure flag for linking static versions of libraries.
[EMAIL PROTECTED] 
[add changelog entry for bug #477.
David Roundy <[EMAIL PROTECTED]>**20050806212148] 
[changelog entry for bug #189.
David Roundy <[EMAIL PROTECTED]>**20050731132624] 
[add description of how to add changelog entries to ChangeLog.README.
David Roundy <[EMAIL PROTECTED]>**20050806225901] 
[Explain the missing ChangeLog
Mark Stosberg <[EMAIL PROTECTED]>**20050526135421
 
 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
 
] 
[fix obsolete error explanation in get_extra bug.
David Roundy <[EMAIL PROTECTED]>**20050804130610] 
[simplify fix for bug 463; reuse /// from FilePathUtils
Matt Lavin <[EMAIL PROTECTED]>**20050804021130] 
[Make curl exit with error on failed downloads
[EMAIL PROTECTED] 
[Bump up AC_PREREQ version to 2.59.
[EMAIL PROTECTED] 
[fix for bug 463 (with new test)
Matt Lavin <[EMAIL PROTECTED]>**20050802002116] 
[bump version number, since I just made a release.
David Roundy <[EMAIL PROTECTED]>**20050731190756] 
[Use simpler curl_version() function to get version string.
Kannan Goundan <[EMAIL PROTECTED]>**20050322221027] 
[fix documentation on --reorder-patches.
David Roundy <[EMAIL PROTECTED]>**20050731185406] 
[add changelog entry for bug #224.
David Roundy <[EMAIL PROTECTED]>**20050731133942] 
[fix bug when editing long comment leaves empty file.
David Roundy <[EMAIL PROTECTED]>**20050731133612] 
[TAG 1.0.4pre2
David Roundy <[EMAIL PROTECTED]>**20050731121029] 
Patch bundle hash:
6ed21ea8d1aa8d4287bc762ec8a116e28cda7caa
_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to