This implements the posthook option for all darcs commands and adds
documentation as well. It does not add any test cases, I need help with
that part.
Here are examples of things we need to test:
1) Commands that don't run in the current working directory have the right
path.
Ex: remote repo has the lines "apply posthook echo `pwd`" and
"apply run-posthook" defined in _darcs/prefs/defaults. Doing a
push to this repo should give should show the remote path.
2) Make sure that the posthook command is only run once in all possible
combinations of the command failing/passing.
3) Check to see if a posthook simply behaves backwards for any commands.
This could be the case if trying to record when there are no patches to
record. What should happen in this case?
4) Test this on windows.
5) Anything anyone else can think of.
I'd implement some of these tests, but my perl skills are not up to the
challenge. Perhaps if someone created some examples I could add a test or
two...
I'm looking forward to this getting accepted and hopefully before 1.0.4 comes
out, but who knows, maybe it needs more testing. But, I do know a lot of
people will like having this hook. One of the cool things it can do is
run a script to fix up permissions when people do a push. I found this was
important when others in my group would push to my repo from their accounts
because they might have some weird umask.
Thanks,
Jason
Tue Aug 2 23:59:56 PDT 2005 Jason Dagit <[EMAIL PROTECTED]>
* added posthook command line switches
Added generic posthook command line switches. This patch does not add any
posthooks to any command.
Wed Aug 3 00:01:56 PDT 2005 Jason Dagit <[EMAIL PROTECTED]>
* added run_posthook for actually running posthooks
This adds the function run_posthook which should be used to run posthooks.
The code was added to Test.lhs, but there may be a better place for this code.
Wed Aug 3 00:03:43 PDT 2005 Jason Dagit <[EMAIL PROTECTED]>
* posthook for apply
With this patch it is now possible to specify a command to run after every
successful apply.
Wed Aug 24 21:33:05 PDT 2005 Jason Dagit <[EMAIL PROTECTED]>
* now the posthook options appear for each command
Wed Aug 24 21:34:14 PDT 2005 Jason Dagit <[EMAIL PROTECTED]>
* changed from --posthook-command to posthook
Wed Aug 24 21:57:06 PDT 2005 Jason Dagit <[EMAIL PROTECTED]>
* posthook documentation
New patches:
[added posthook command line switches
Jason Dagit <[EMAIL PROTECTED]>**20050803065956
Added generic posthook command line switches. This patch does not add any
posthooks to any command.
] {
hunk ./DarcsArguments.lhs 59
- files, directories, pending, nullFlag
+ files, directories, pending, posthook_cmd,
+ get_posthook_cmd, nullFlag
hunk ./DarcsArguments.lhs 105
+get_content (PosthookCmd s) = Just s
hunk ./DarcsArguments.lhs 988
+\begin{code}
+posthook_cmd :: DarcsOption
+posthook_cmd = DarcsMultipleChoiceOption
+ [DarcsArgOption [] ["posthook-command"] PosthookCmd
+ "COMMAND" "specify command to run after this darcs command.",
+ DarcsNoArgOption [] ["no-posthook"] NoPosthook
+ "Do not run posthook command.",
+ DarcsNoArgOption [] ["prompt-posthook"] AskPosthook
+ "Prompt before running posthook. [DEFAULT]",
+ DarcsNoArgOption [] ["run-posthook"] RunPosthook
+ "Run posthook command without prompting."]
+
+get_posthook_cmd :: [DarcsFlag] -> Maybe String
+get_posthook_cmd (PosthookCmd a:_) = Just a
+get_posthook_cmd (_:flags) = get_posthook_cmd flags
+get_posthook_cmd [] = Nothing
+\end{code}
hunk ./DarcsFlags.lhs 66
+ | PosthookCmd String | NoPosthook | AskPosthook | RunPosthook
}
[added run_posthook for actually running posthooks
Jason Dagit <[EMAIL PROTECTED]>**20050803070156
This adds the function run_posthook which should be used to run posthooks.
The code was added to Test.lhs, but there may be a better place for this code.
] {
hunk ./Test.lhs 17
-module Test ( run_test, get_test, test_patch ) where
+module Test ( run_test, get_test, test_patch, run_posthook ) where
hunk ./Test.lhs 26
-import DarcsArguments ( DarcsFlag( Quiet, LeaveTestDir ) )
+import DarcsArguments ( DarcsFlag( Quiet, LeaveTestDir,
+ NoPosthook, RunPosthook ),
+ get_posthook_cmd )
hunk ./Test.lhs 31
+import DarcsUtils ( askUser )
hunk ./Test.lhs 100
+\begin{code}
+run_posthook :: [DarcsFlag] -> FilePath -> IO ExitCode
+run_posthook opts repodir
+ | NoPosthook `elem` opts = return ExitSuccess
+ | otherwise = do posthook <- get_posthook opts
+ withCurrentDirectory repodir posthook
hunk ./Test.lhs 107
+get_posthook :: [DarcsFlag] -> IO (IO ExitCode)
+get_posthook opts =
+ let putInfo s = when (not $ Quiet `elem` opts) $ putStr s
+ in do
+ posthookline <- return $ get_posthook_cmd opts
+ return $
+ case posthookline of
+ Nothing -> return ExitSuccess
+ Just command -> do
+ yorn <- maybeAskUser ("\nThe following command is set to execute.\n"++
+ "Execute the following command now (yes or no)?\n"++
+ command++"\n")
+ case yorn of ('y':_) -> do putInfo "Running posthook...\n"
+ ec <- system command
+ if ec == ExitSuccess
+ then putInfo "Posthook ran successfully.\n"
+ else putInfo "Posthook failed!\n"
+ return ec
+ _ -> return ExitSuccess
+ where
+ maybeAskUser
+ | RunPosthook `elem` opts = \_ -> return "yes"
+ | otherwise = askUser
+\end{code}
}
[posthook for apply
Jason Dagit <[EMAIL PROTECTED]>**20050803070343
With this patch it is now possible to specify a command to run after every
successful apply.
] {
hunk ./Apply.lhs 40
- leave_test_dir, happy_forwarding, set_scripts_executable
+ leave_test_dir, happy_forwarding,
+ set_scripts_executable, posthook_cmd
hunk ./Apply.lhs 68
-import Test ( test_patch )
+import Test ( test_patch, run_posthook )
hunk ./Apply.lhs 72
+import Workaround ( getCurrentDirectory )
hunk ./Apply.lhs 116
- set_scripts_executable]}
+ set_scripts_executable,
+ posthook_cmd]}
hunk ./Apply.lhs 194
- exitWith ExitSuccess
+ here <- getCurrentDirectory
+ ec <- run_posthook opts here
+ exitWith ec
}
[now the posthook options appear for each command
Jason Dagit <[EMAIL PROTECTED]>**20050825043305] {
hunk ./Apply.lhs 41
- set_scripts_executable, posthook_cmd
+ set_scripts_executable
hunk ./Apply.lhs 68
-import Test ( test_patch, run_posthook )
+import Test ( test_patch )
hunk ./Apply.lhs 72
-import Workaround ( getCurrentDirectory )
hunk ./Apply.lhs 115
- set_scripts_executable,
- posthook_cmd]}
+ set_scripts_executable]}
hunk ./Apply.lhs 192
- here <- getCurrentDirectory
- ec <- run_posthook opts here
- exitWith ec
+ exitWith ExitSuccess
hunk ./DarcsCommands.lhs 34
+import Control.Exception ( catch, throwIO, Exception ( ExitException ) )
+import System.Exit ( ExitCode ( ExitSuccess ) )
+import Test ( run_posthook )
+import Workaround ( getCurrentDirectory )
hunk ./DarcsCommands.lhs 155
- = concat $ map option_from_darcsoption $ opts ++ [disable, help]
+ = concat $ map option_from_darcsoption $ opts ++ [disable, help,
+ posthook_cmd]
hunk ./DarcsCommands.lhs 294
- then (command_command cmd) (FixFilePath fix_path:specops) extra
+ then runWithPostHook specops extra
hunk ./DarcsCommands.lhs 302
- else (command_command cmd) (FixFilePath fix_path:specops) extra
+ else runWithPostHook specops extra
hunk ./DarcsCommands.lhs 307
+ posthook (ExitException ExitSuccess) fs p = run_posthook fs p
+ posthook e _ _ = throwIO e
+ runWithPostHook os ex = do
+ here <- getCurrentDirectory
+ (command_command cmd) (FixFilePath fix_path:os) ex
+ `Control.Exception.catch` (\e -> do ec <- posthook e os here
+ throwIO (ExitException ec))
+ ec <- posthook (ExitException ExitSuccess) os here
+ throwIO (ExitException ec)
}
[changed from --posthook-command to posthook
Jason Dagit <[EMAIL PROTECTED]>**20050825043414] {
hunk ./DarcsArguments.lhs 991
- [DarcsArgOption [] ["posthook-command"] PosthookCmd
+ [DarcsArgOption [] ["posthook"] PosthookCmd
}
[posthook documentation
Jason Dagit <[EMAIL PROTECTED]>**20050825045706] {
hunk ./ArgumentDefaults.lhs 67
+
+If you would like a command to be run everytime patches are recorded
+in a particular repository (for example if you have one central
+repository, that all developers contribute to), then you can set apply
+to always run a command when apply is successful. For example, if you
+need to make sure that the files in the repository have the correct
+access rights you might use the following. There are two things
+to note about using darcs this way:
+\begin{itiemize}
+\item Without the second line you will get errors, because the sub
+ process that runs apply cannot prompt interactively.
+\item Whatever script is run by the post apply command should not be
+ be added to the repository with \verb!darcs add!, doing so would
+ allow people to modify that file and then run arbitrary scripts on
+ your main repository, possibly damaging or violating security.
+\end{itimize}
+\begin{verbatim}
+apply posthook chmod -R a+r *
+apply run-posthook
+\end{verbatim}
hunk ./DarcsArguments.lhs 987
-
+\begin{options}
+--posthook=COMMAND, --no-posthook
+\end{options}
+To provide a command that should be run when even a darcs command completes
+successfully, use \verb!--posthook! to give the command. This is useful in
+for people who want to have a command run whenever a patch is applied. Using
+\verb!--no-posthook! will disable running the command.
+\begin{options}
+--prompt-posthook, --run-posthook
+\end{options}
+These options control prompting before running the posthook. Use
+\verb!--prompt-posthook! to force prompting before running the
+posthook command. For security reasons, this is the default. When
+defining a posthook for apply, you will need to use
+\verb!--run-posthook! or else you will get an error, because the
+subprocess which runs the apply command cannot prompt the user.
}
Context:
[remove hideous malloc hack.
David Roundy <[EMAIL PROTECTED]>**20050818161411]
[change my AUTHORS email to [EMAIL PROTECTED]
David Roundy <[EMAIL PROTECTED]>**20050808124703]
[fix mkstemp implementation for win32
Peter Strand <[EMAIL PROTECTED]>**20050810211303]
[Implement parts of System.Posix.(IO|Files) for win32
[EMAIL PROTECTED]
[implement RawMode with library functions instead of ffi
[EMAIL PROTECTED]
[call hsc2hs without output filename argument
[EMAIL PROTECTED]
[Rename compat.c to c_compat.c to avoid object filename conflict with Compat.hs
[EMAIL PROTECTED]
[Move atomic_create/sloppy_atomic_create to Compat
Ian Lynagh <[EMAIL PROTECTED]>**20050730141703]
[Split the raw mode stuff out into its own .hsc file. Windows needs some TLC
Ian Lynagh <[EMAIL PROTECTED]>**20050730134030]
[Move maybe_relink out of compat.c
Ian Lynagh <[EMAIL PROTECTED]>**20050730131205]
[Remove is_symlink
Ian Lynagh <[EMAIL PROTECTED]>**20050730122255]
[Move mkstemp to Compat.hs
Ian Lynagh <[EMAIL PROTECTED]>**20050730020918]
[Remove unused function
Ian Lynagh <[EMAIL PROTECTED]>**20050730010118]
[Start Compat.hs, and move stdout_is_a_pipe from compat.c
Ian Lynagh <[EMAIL PROTECTED]>**20050730004829]
[fix for bug Ian found in apply.
David Roundy <[EMAIL PROTECTED]>**20050811162558
This is the bug manifested in the cabal repository.
]
[fix compilation errors with ghc-6.2.2 on win32
Peter Strand <[EMAIL PROTECTED]>**20050809192759]
[Retain both Git's author and committer.
Juliusz Chroboczek <[EMAIL PROTECTED]>**20050810000820]
[Move slurping into syncPristine.
Juliusz Chroboczek <[EMAIL PROTECTED]>**20050809232101
Avoids creating a useless pristine tree when there is none. Thanks to
Ian for pointing this out.
]
[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.
]
[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.
]
[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]
[add changelog entry and building darcsgit section to manual.
David Roundy <[EMAIL PROTECTED]>**20050731120458]
[check for a git/ in current directory (when --enable-git).
David Roundy <[EMAIL PROTECTED]>**20050731112740]
[remove the now-unneeded git/.
David Roundy <[EMAIL PROTECTED]>**20050731105656]
[make determine_release_state.pl not touch ThisVersion.lhs unless it's changed.
David Roundy <[EMAIL PROTECTED]>**20050730193258
This saves us considerable time checking whether anything needs to be
recompiled.
]
[Autoconf support for linking against libgit.a
Wim Lewis <[EMAIL PROTECTED]>**20050731050341
Allow (actually, require) the user to specify the location of the Git
implementation when including Git support. Attempt to discover whether
Git was compiled to require OpenSSL's implementation of SHA1.
]
[Do autoconf substitution on git.h
Wim Lewis <[EMAIL PROTECTED]>**20050731050259]
[Use AS_HELP_STRING to format option descriptions
Wim Lewis <[EMAIL PROTECTED]>**20050729185632]
[Simplify curses/ncurses search; use $LIBS
Wim Lewis <[EMAIL PROTECTED]>**20050729183440]
[Changes for Git 0.99
Juliusz Chroboczek <[EMAIL PROTECTED]>**20050730213601]
[fix darcs --commands, which was broken by subcommand code.
David Roundy <[EMAIL PROTECTED]>**20050730111501]
[share target collection code in send implementation
Matt Lavin <[EMAIL PROTECTED]>**20050730212012]
[Make send --to override default email and add test for it
Matt Lavin <[EMAIL PROTECTED]>**20050730185352]
[remove unused #define from windows flags.
David Roundy <[EMAIL PROTECTED]>**20050730124558]
[mention in changelog the win32 build improvement in recognizing windows.
David Roundy <[EMAIL PROTECTED]>**20050730124809]
[use presence of windows.h to decide if we're in windows.
David Roundy <[EMAIL PROTECTED]>**20050730124536]
[add new changelog entry and update older one.
David Roundy <[EMAIL PROTECTED]>**20050730115001]
[changed ***DARCS*** to ***END OF DESCRIPTION***
Jason Dagit <[EMAIL PROTECTED]>**20050729032543]
[remove TODO annotation for two tests that now pass.
David Roundy <[EMAIL PROTECTED]>**20050728115034]
[fix bug introduced in 208 fix which messed up --list-options output.
David Roundy <[EMAIL PROTECTED]>**20050729121804
We need to make sure that drop_paths doesn't do anything to an absolute
path or URL.
]
[Merge changes
Ian Lynagh <[EMAIL PROTECTED]>**20050728230858]
[Don't die on sigALRM (linking with -threaded means we see loads of them)
Ian Lynagh <[EMAIL PROTECTED]>**20050728131023]
[Give help for 'c' in selectchanges
Ian Lynagh <[EMAIL PROTECTED]>**20050728125910]
[Update QueryManifest with the Repository changes
Ian Lynagh <[EMAIL PROTECTED]>**20050728185646]
[Merge changes
Florian Weimer <[EMAIL PROTECTED]>**20050607203225]
[Fix typo
Florian Weimer <[EMAIL PROTECTED]>**20050510113824]
[Test case for "query manifest"
Florian Weimer <[EMAIL PROTECTED]>**20050510113803]
[Remove the "query changes" and "query annotate" subcommands
Florian Weimer <[EMAIL PROTECTED]>**20050510060221]
[Do not mention file name in error message for disabled commands
Florian Weimer <[EMAIL PROTECTED]>**20050510054931
We have multiple configuration files, and we do not know tat this point which
file contains the "disable" option.
]
[Remove --disable on supercommands
Florian Weimer <[EMAIL PROTECTED]>**20050510054744]
[Resolve conflict
Florian Weimer <[EMAIL PROTECTED]>**20050510054405]
[Add --help in command_options, like --disable
Florian Weimer <[EMAIL PROTECTED]>**20050510053348
--list-options is still separate, to keep it undocumented.
]
[Resolve conflict
Florian Weimer <[EMAIL PROTECTED]>**20050510052119]
[Move --disable to the end of the option list
Florian Weimer <[EMAIL PROTECTED]>**20050510051905]
[Include the query subcommand documentation in Query.lhs
Florian Weimer <[EMAIL PROTECTED]>**20050510051533]
[Print usage information if the subcommand is missing
Florian Weimer <[EMAIL PROTECTED]>**20050509101427
Add a separating line to the invalid subcommand error message.
]
[Fix empty lines in "darcs query --help" output
Florian Weimer <[EMAIL PROTECTED]>**20050509100509]
[Resolve conflicts
Florian Weimer <[EMAIL PROTECTED]>**20050509094729]
[Add the --disable option in command_options, not in run_the_command
Florian Weimer <[EMAIL PROTECTED]>**20050509093929
This change makes it possible to specialize the list of default commands
(such as --disable) on different DarcsCommand constructors.
]
[Add --pending option to "query manifest"
Florian Weimer <[EMAIL PROTECTED]>**20050508080502]
[Add the --files and --directories options to "query manifest"
Florian Weimer <[EMAIL PROTECTED]>**20050507223327]
[Implement list_slurpy_dirs
Florian Weimer <[EMAIL PROTECTED]>**20050507223257]
[Add --null flag to the "query manifest" command
Florian Weimer <[EMAIL PROTECTED]>**20050507213547]
[Add "query manifest" command
Florian Weimer <[EMAIL PROTECTED]>**20050507163125]
[Implement the \haskell command for subcommands
Florian Weimer <[EMAIL PROTECTED]>**20050507160607]
[Mention the structure of subcommands in the documentation
Florian Weimer <[EMAIL PROTECTED]>**20050507151003]
[Handle subcommands in the preprocessor
Florian Weimer <[EMAIL PROTECTED]>**20050507150829
You can use "\options{SUPER SUB}" to document the options of a
subcommand.
]
[Do not include the "query" command in the manual
Florian Weimer <[EMAIL PROTECTED]>**20050507150707
The commands will be documented individually, in the relevant section.
]
[Mention "query" subcommands in the man page
Florian Weimer <[EMAIL PROTECTED]>**20050507135756
"changes" is now documented as "query changes". "query annotate" is
mentioned, too.
]
[add subcommand infrastructure and (currently useless) query command.
David Roundy <[EMAIL PROTECTED]>**20050507115457
The idea of course is that this can be readily extended to add nice new
simple subcommands under query.
]
[Include autoconf-detected libs in LDFLAGS
Joshua J. Berry <[EMAIL PROTECTED]>**20050728031609
Autoconf uses @LIBS@ -- not @LDFLAGS@ -- for libraries it detects (e.g. using
AC_SEARCH_LIBS).
]
[resolve conflict with myself...
David Roundy <[EMAIL PROTECTED]>**20050727100745]
[fix pulling from a relative defaultrepo from within a subdirectory.
David Roundy <[EMAIL PROTECTED]>**20050722105708
This is a fix for bug #208. It is perhaps a tad more invasive than
necesary, and introduces a FilePathUtils module that is perhaps
overkill... especially since it doesn't do much.
]
[Small tweaks to the with_new_pending patch
Ian Lynagh <[EMAIL PROTECTED]>**20050727025308]
[replace write_pending with "with_new_pending".
David Roundy <[EMAIL PROTECTED]>**20050722125725
This patch is basically an extension of Ian's earlier patch that created a
"write_pending_then" function. This one creates two functions,
with_new_pending and add_to_pending.
The idea is that we can't check if a new pending is valid until after we've
updated the pristine cache. But it's possible that the pending patch
itself was lazily generated with get_unrecorded, in which case it's not
safe to modify the pristine cache until after we've written pending. This
new interface makes it much harder to make this kind of mistake. I also
think it's pretty intuitive.
]
[Removed an unused reference to Slurpy
Ian Lynagh <[EMAIL PROTECTED]>**20050709114603]
[new changelog entries.
David Roundy <[EMAIL PROTECTED]>**20050726123329]
[clean up formatting in Depends.
David Roundy <[EMAIL PROTECTED]>**20050723130807]
[changelog entry for fix to RT#208.
David Roundy <[EMAIL PROTECTED]>**20050722113803]
[make make_changelog a bit more flexible in its parsing.
David Roundy <[EMAIL PROTECTED]>**20050722113701
One can now have blank lines between the match: lines and the actual
comments.
]
[give better error message when dealing with a non-repository.
David Roundy <[EMAIL PROTECTED]>**20050722105908]
[make make_changelog ignore boring files (emacs backups) in changelog.in/entries/.
David Roundy <[EMAIL PROTECTED]>**20050726121455]
[add changelog entry for get --partial fix.
David Roundy <[EMAIL PROTECTED]>**20050723130715]
[scrunch up the tla/cvs tables a bit in the manual.
David Roundy <[EMAIL PROTECTED]>**20050724181011]
[another alternative formatting for cvs/tla tables.
Erik Schnetter <[EMAIL PROTECTED]>**20050724134656]
[fix bug in get_patches_beyond_tag that broke get --partial.
David Roundy <[EMAIL PROTECTED]>**20050723125507
The bug was that we sometimes looked at patches that weren't strictly
necesary. This was because of the concat in get_patches_beyond_tag, which
loses information about tag dependencies. A clean implementation of a
get_extra that accepts a true PatchSet would be a nicer fix (since it might
fix other similar problems), but this fix is also correct and simple.
]
[alternative formatting for cvs/tla tables.
Erik Schnetter <[EMAIL PROTECTED]>**20050724113905]
[make add/remove --list-options not output preceding ./
David Roundy <[EMAIL PROTECTED]>**20050723134758
We were treating the repository root differently from subdirectories
because the file paths didn't need to get "fixed". Addresses bug #158.
]
[fix unit test that prompts for input
Will <[EMAIL PROTECTED]>**20050722181028]
[put configure.ac back in the public domain.
David Roundy <[EMAIL PROTECTED]>**20050720115702]
[advance DARCS_VERSION to 1.0.4pre2.
David Roundy <[EMAIL PROTECTED]>**20050720115536
In the new tradition of changing the version after a release rather than
before a release (although when the release type changes to rc or actual
release it'll have to be done before the release).
]
[drop $srcdir use; build-directories aren't supported anyway
Peter Simons <[EMAIL PROTECTED]>**20050719140044]
[clean generated manual files at realclean
Peter Simons <[EMAIL PROTECTED]>**20050719135935]
[cosmetic changes
Peter Simons <[EMAIL PROTECTED]>**20050719135834]
[move comment to the right place
Peter Simons <[EMAIL PROTECTED]>**20050719135818]
[let config.status generate config.command
Peter Simons <[EMAIL PROTECTED]>**20050719135733]
[make use of autoconf 2.5x's AC_INIT macro
Peter Simons <[EMAIL PROTECTED]>**20050719135611]
[use ./config.status to re-configure build after autoconf changes
Peter Simons <[EMAIL PROTECTED]>**20050719135435]
[update distclean and realclean targets
Peter Simons <[EMAIL PROTECTED]>**20050719135415]
[canonize [EMAIL PROTECTED]
Peter Simons <[EMAIL PROTECTED]>**20050719134834]
[cosmetic change
Peter Simons <[EMAIL PROTECTED]>**20050719134816]
[update test suite to work with Peter's makefile changes.
David Roundy <[EMAIL PROTECTED]>**20050721102319]
[fix error in name of --reorder-patches flag.
David Roundy <[EMAIL PROTECTED]>**20050722110752]
[Make DarcsRepo.add_to_inventory take a list.
Juliusz Chroboczek <[EMAIL PROTECTED]>**20050720174029
This avoids opening the inventory multiple times. Thanks to Ian for the hint.
]
[Use mapM_ instead of the comprehensible alternative.
Juliusz Chroboczek <[EMAIL PROTECTED]>**20050720164258
Mentioning mapM_ always impresses people at dinner parties. Thanks to
Ian for the hint.
]
[Move iterateGitTree out of the IO monad.
Juliusz Chroboczek <[EMAIL PROTECTED]>**20050720162841
We're reading immutable on-disk data, it's safe to do it unsafely.
]
[Clean up usage of interleaveIO in Git.
Juliusz Chroboczek <[EMAIL PROTECTED]>**20050720162251]
[TAG 1.0.4pre1
David Roundy <[EMAIL PROTECTED]>**20050718112234]
[make configure automatically guess the release state based on defaultrepo and tags.
David Roundy <[EMAIL PROTECTED]>**20050718112222]
[fix write_problem to show all problems.
David Roundy <[EMAIL PROTECTED]>**20050717110628]
[don't import head and tail, which are in the prelude.
David Roundy <[EMAIL PROTECTED]>**20050716143547]
[Push and pull can now show the detailed diffs of patches
Jim Radford <[EMAIL PROTECTED]>**20050717042645
The same distinction is now made between --summary and --verbose
as changes makes.
]
[Rename bound variable in fromJust macro.
Juliusz Chroboczek <[EMAIL PROTECTED]>**20050716221705
Avoids ``shadows existing variable'' warnings which for some reason are
errors.
Could we please use Lisp macros instead?
]
[TAG 2005-07-18
Ian Lynagh <[EMAIL PROTECTED]>**20050718193534]
Patch bundle hash:
598d114218dbe96dace3cfd9dafcefcfc605b7db
_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel