[darcs-devel] Re: [issue323] darcs dist support for tarballs in
other directories
Wim Lewis
wiml at hhhh.org
Tue Oct 24 23:38:20 PDT 2006
This more or less handles issue 323 --- the first patch makes sure darcs
emits a valid tar file, without intermixing error messages; and the second
allows more flexibility in the dist-name argument.
Dist should really check the exit status of the commands it runs, though,
and not create the tarfile if tar or the predist command has an error.
-------------- next part --------------
New patches:
[Avoid mixing stderr into tar files (issue323)
Wim Lewis <wiml at hhhh.org>**20061025052202] {
hunk ./Dist.lhs 94
- (Null, File tarfile, Stdout)
+ (Null, File tarfile, AsIs)
hunk ./Dist.lhs 97
- (File tarfile, File tar_listing, Stdout)
+ (File tarfile, File tar_listing, AsIs)
hunk ./Dist.lhs 101
- (File tarfile, File (formerdir++"/"++dn++".tar.gz"), Stdout)
+ (File tarfile, File (formerdir++"/"++dn++".tar.gz"), AsIs)
}
[Tidy filenames before invoking tar
Wim Lewis <wiml at hhhh.org>**20061025061809
Only use the last path component of --dist-name for the distribution
name; the rest is still used when creating the final tar file. (issue323)
] {
hunk ./Dist.lhs 22
+import Data.Char ( isAlphaNum )
hunk ./Dist.lhs 31
+import FileName ( own_name, fn2fp, fp2fn )
hunk ./Dist.lhs 84
- dn <- get_dist_name opts
+ distname <- get_dist_name opts
hunk ./Dist.lhs 88
+ resultfile <- return (formerdir++"/"++distname++".tar.gz")
hunk ./Dist.lhs 92
- withRecorded (withTempDir (tempdir++"/"++dn)) $ \ddir -> do
+ withRecorded (withTempDir (tempdir++"/"++(basename distname))) $ \ddir -> do
hunk ./Dist.lhs 96
- exec "tar" ["-cf", "-", reverse $ takeWhile (/='/') $ reverse ddir]
+ exec "tar" ["-cf", "-", safename $ basename ddir]
hunk ./Dist.lhs 104
- (File tarfile, File (formerdir++"/"++dn++".tar.gz"), AsIs)
- putStrLn $ "Created dist as "++dn++".tar.gz"
+ (File tarfile, File resultfile, AsIs)
+ putStrLn $ "Created dist as "++resultfile
+ where
+ basename = fn2fp . own_name . fp2fn
+ safename n@(c:_) | isAlphaNum c = n
+ safename n = "./" ++ n
}
Context:
[In procmail examples, don't use a lock file
era+darcs at iki.fi**20060924111522]
[add some changelog entries
Tommy Pettersson <ptp at lysator.liu.se>**20060930120140]
[redirect errors to null where exec output is used but failure is not fatal
Tommy Pettersson <ptp at lysator.liu.se>**20060916010116
Error messages in the output would destroy the result, but if the command
fails some other action is taken, so error messages shall not be displayed
to the user.
]
[redirect errors to stderr where exec is checked and darcs fails
Tommy Pettersson <ptp at lysator.liu.se>**20060916004407
In these situations the user will get both the error message from the
failing external command and a message from darcs about what action it
could not perform.
]
[reindent some long lines
Tommy Pettersson <ptp at lysator.liu.se>**20060915222654]
[update calls to exec and exec_fancy to new interface
Tommy Pettersson <ptp at lysator.liu.se>**20060915222226]
[fix typo
Tommy Pettersson <ptp at lysator.liu.se>**20060915164446]
[rewrite Exec.lhs, new exec interface with Redirects
Tommy Pettersson <ptp at lysator.liu.se>**20060911102933
Make the code structure a bit simpler and easier to understand.
Only one (fancy) version of exec.
]
[Fix Windows stderr non-redirection.
Eric Kow <eric.kow at gmail.com>**20060909055204
(It was consistently redirecting to stdout.)
Also make the exec code more readable/transparent.
]
[Do not redirect to or from /dev/null when calling ssh.
Eric Kow <eric.kow at loria.fr>**20060903214831
Redirection of stdin and stdout breaks putty, which uses these to
interact with the user. Quiet mode, and redirecting stderr are good
enough for making ssh silent.
]
[Exec improvements : Windows redirection, and more redirection control.
Eric Kow <eric.kow at gmail.com>**20060707054134
- Implement ability to redirect to /dev/null under Windows
(eivuokko on #darcs points out that it is NUL under Windows)
- Add exec_ function, which does the same thing as exec,
but allows redirection on stderr, and also allows us
to NOT redirect stdin/stderr
]
[Canonize Era Eriksson.
Eric Kow <eric.kow at loria.fr>**20060928223224]
[Reword paragraph about Procmail's umask handling
era+darcs at iki.fi**20060924114546
The explanation now helpfully hints that similar tricks may be necessary
in other mail programs, too
]
[Wrap .muttrc example so it doesn't bleed into margin in PostScript version
era+darcs at iki.fi**20060924111313]
["Granting access to a repository": remove odd orphaned? sentence
era+darcs at iki.fi**20060924111142]
[era's trivial typo fixes
era+darcs at iki.fi**20060924110945
* best_practices.tex (subsection{Conflicts}): \emph pro \verb
around emphasized word "only"
* DarcsArguments.lhs (intersection_or_union): uppercase "[DEFAULT]";
(disable_ssh_cm docs): remove duplicate "which"
* Help.lhs: Missing full stop in description of --extended-help
* Mv.lhs (mv_description): Missing apostrophe in "Apple's"
* PatchShow.lhs (showHunk): Replace "that the white space must not"
with "that whitespace must not"
]
[simplify helper function stupidexec in copyRemoteCmd
Tommy Pettersson <ptp at lysator.liu.se>**20060915222923]
[whatsnew --look-for-adds doesn't read unadded files (fix for issue79)
Jason Dagit <dagit at codersbase.com>**20060910193803
The default mode for whatsnew --look-for-adds is summary mode. In summary
mode full patches are not needed. This fix changes whatsnew
--look-for-adds to stop computing the full patch for a file when the
file is not managed by darcs.
]
[Remove direct dependency to mapi32.dll; Improve MAPI compatibility.
Esa Ilari Vuokko <ei at vuokko.info>**20051130000915]
[make amend-record.pl test a bit pickier.
David Roundy <droundy at darcs.net>**20060730103854]
[simplify code a tad in get.
David Roundy <droundy at darcs.net>**20060726121737]
[Ignore .git if _darcs found.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060831231933]
[remove some tabs from darcs source
Tommy Pettersson <ptp at lysator.liu.se>**20060929211203]
[--matches now accepts logical 'and' 'or' '!' in addition to '&&' '||' 'not'.
Pekka Pessi <ppessi at gmail.com>**20060915140406]
[Correct 'one one' in web page.
Eric Kow <eric.kow at loria.fr>**20060908191241]
[overhaul the darcs.net front page.
Mark Stosberg <mark at summersault.com>**20060820191415
The themes to this change are:
- Focus on the key benefits of darcs:
Distributed. Interactive. Smart.
- Recognize that the wiki is the central resource,
and remove some information that is duplicated here
and reference the wik instead.
I can post a demo of this HTML for easy comparison if you'd like.
Mark
]
[Correct canonical email for Kirill Smelkov
Kirill Smelkov <kirr at landau.phys.spbu.ru>**20060912080004]
[move test for tabs from makefile to haskell_policy test
Tommy Pettersson <ptp at lysator.liu.se>**20060730122348]
[add test for haskell policy
Tommy Pettersson <ptp at lysator.liu.se>**20060730121404]
[ratify some uses of readFile and hGetContents
Tommy Pettersson <ptp at lysator.liu.se>**20060730121158]
[Canonize Kirill Smelkov and Anders Hockersten.
Eric Kow <eric.kow at gmail.com>**20060910052541]
[Raise exception if unable to open logfile (issue142).
Zachary P. Landau <kapheine at divineinvasion.net>**20060810034035]
[Make the pull 'permission test' work when run as root
Jon Olsson <jon at vexed.se>**20060831193834]
[Fix issue 185: don't combine AddFile and RmFile in the same patch
lele at nautilus.homeip.net**20060820004024
For unknown reason (a possibly previous version of) darcs allows a
single patch to Add and Remove the same file in a single patch. The
"changes" command used to combine them, showing just a Remove. This
prevents combining those two events and shows two distinct actions.
]
[rename test 0_test to better name harness
Tommy Pettersson <ptp at lysator.liu.se>**20060819214246]
[Check for module Text.Html in package html
Esa Ilari Vuokko <ei at vuokko.info>**20060815235739]
[Link to relevant symbol when checking for Control.Monad.Error
Esa Ilari Vuokko <ei at vuokko.info>**20060815235714]
[Workaround for HasBounds that was removed in base-2.0 (GHC 6.6)
Esa Ilari Vuokko <ei at vuokko.info>**20060815234127]
[Reimplement --disable-ssh-cm flag (issue239).
Eric Kow <eric.kow at gmail.com>**20060812134856
My patch to "Only launch SSH control master on demand" accidentally
removed the ability to disable use of SSH ControlMaster. Also, the
way it was implemented is not compatible with launching on demand.
This implementation relies on a notion of global variables using
unsafe IORefs.
]
[Compile Global.lhs in place of AtExit.lhs.
Eric Kow <eric.kow at gmail.com>**20060812121943]
[Rename AtExit module to Global.
Eric Kow <eric.kow at gmail.com>**20060812121925
The goal is to capture some broad "global" notions like exit handlers
and global variables. Note the GPL header thrown in for good measure.
]
[remove TODO from pull.pl.
David Roundy <droundy at darcs.net>**20060805192700]
[fixes in pull.pl.
David Roundy <droundy at darcs.net>**20060805221055
The first fix avoids a false error that shows up because of identical
timestamps. The second verifies that revert -a doesn't prompt user.
]
[add new obliterate test.
David Roundy <droundy at darcs.net>**20060806122536]
[clean up docs on DarcsRepo format.
David Roundy <droundy at darcs.net>**20060808104321]
[Read sftp batch file in from stdin (part of issue237).
Eric Kow <eric.kow at gmail.com>**20060812143113
Passing the batch file in from stdin allows for sftp to be used with
password-based authentication. According to the sftp user manual regarding
the -b switch:
Since it lacks user interaction it should be
used in conjunction with non-interactive authentication
Credit for this idea goes to Ori Avtalion.
]
[Extend runSSH function to accept argument for stdin.
Eric Kow <eric.kow at gmail.com>**20060812142932]
[fail if replace token pattern contains spaces (issue231)
Tommy Pettersson <ptp at lysator.liu.se>**20060806110807
It would otherwise create a badly formated patch in pending with unexpected
results for subsequent commands.
]
[fix negation of result in test
Tommy Pettersson <ptp at lysator.liu.se>**20060806104215
Negation with ! "uses" the result and thus there is no "failure", so the
script wouldn't have exit with failure.
]
[add test that replace with spaces fail
Tommy Pettersson <ptp at lysator.liu.se>**20060806103033]
[unset default author environment variables in test suite harness
Tommy Pettersson <ptp at lysator.liu.se>**20060805151210
This makes it harder to accidently write tests that fail because no author
is set.
]
[set author in pull_two test so it doesn't hang
Tommy Pettersson <ptp at lysator.liu.se>**20060804181518]
[add new test that triggers bug in refactoring.
David Roundy <droundy at darcs.net>**20060804103830]
[make test external stay in its temp1 dir
Tommy Pettersson <ptp at lysator.liu.se>**20060804134139]
[Do not run sftp with the -q flag (issue240).
Eric Kow <eric.kow at gmail.com>**20060811212030
sftp does not recognise it, and so any command which uses it fails.
]
[Refactor calls to ssh/scp/sftp.
Eric Kow <eric.kow at gmail.com>**20060706202509
]
[Extend test suite for patch matching.
Eric Kow <eric.kow at gmail.com>**20060513192501
]
[Implement help --match (issue91).
Eric Kow <eric.kow at gmail.com>**20060513185610
Also, refactor matching code in a way that encourages developers
to document for help --match any new matchers they create.
]
[Replace dateparser.sh with more general match.pl for testing --match.
Eric Kow <eric.kow at gmail.com>**20060513104942
]
[Add tests for pristine error and quiet mode when removing a directory.
Eric Kow <eric.kow at gmail.com>**20060513100021]
[Replace test rmdir.sh with rmdir.pl.
Eric Kow <eric.kow at gmail.com>**20060513043823]
[remove some tabs from haskell source
Tommy Pettersson <ptp at lysator.liu.se>**20060730122505]
[use FastPackeString when examining executable scripts in Get
Tommy Pettersson <ptp at lysator.liu.se>**20060729130645]
[add some changelog entries
Tommy Pettersson <ptp at lysator.liu.se>**20060718152611]
[Minor tweaks to list_authors.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060720180602]
[Fixed typo in documentation.
Michal Sojka <sojkam1 at fel.cvut.cz>**20060514095212]
[Added elc and pyc to binaries.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060713184214]
[Run ssh/scp/sftp quietly.
Eric Kow <eric.kow at gmail.com>**20060707025245
This is useful for silencing Putty, and could also be for OpenSSH should
we decide to stop redirecting to /dev/null.
]
[Added up links in web interface.
Peter Stuifzand <peter at stuifzand.com>**20060610082238
Added a link to the 'projects' part of the cgi repository interface, so that
you go back to the project list.
]
[Add a test suite for calling external programs.
Eric Kow <eric.kow at gmail.com>**20060521045407
For now this only includes a test for ssh (issue171).
]
[Suppress non-empty dir warning if Quiet.
Eric Kow <eric.kow at gmail.com>**20060513053456]
[Add forgotten file umask.h.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060423174844]
[Add --umask to all commands that write to the current repository.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060407195655]
[Add option --umask.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060407194552]
[Actually switch umasks in withRepoLock.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060407194202]
[Implement withUMask.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060407193312]
[Propagate opts to withRepoLock.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060325190622]
[TAG 1.0.8
Tommy Pettersson <ptp at lysator.liu.se>**20060616160213]
[Merge makefile targets test_perl and test_shell into test_scripts.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060607223134
This should keep parallel make from breaking.
]
[make 1.0.8 latest stable on home page
Tommy Pettersson <ptp at lysator.liu.se>**20060616150806]
[bump version to 1.0.8
Tommy Pettersson <ptp at lysator.liu.se>**20060616150755]
[add some changelog entries
Tommy Pettersson <ptp at lysator.liu.se>**20060616150558]
[canonize Lele Gaifax
Tommy Pettersson <ptp at lysator.liu.se>**20060616150524]
[Add warning to Eric's SSHControlMaster rework.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060528194136]
[Only launch SSH control master on demand (fixes issue171)
Eric Kow <eric.kow at gmail.com>**20060528093000
A secondary benefit is that this encapsulates the use of the control
master functionality and consequently simplifies calling ssh. There is
no need to deal with the details of launching or exiting the control
master.
]
[bump version to 1.0.8pre1
Tommy Pettersson <ptp at lysator.liu.se>**20060522122655]
[Fail with a sensible message when there is no default repository to pull from.
lele at nautilus.homeip.net**20060515135042]
[TAG 1.0.7
Tommy Pettersson <ptp at lysator.liu.se>**20060513171438]
[make 1.0.7 latest stable source on web page
Tommy Pettersson <ptp at lysator.liu.se>**20060513000703]
[add some entries to the change log
Tommy Pettersson <ptp at lysator.liu.se>**20060512235752]
[bump version to 1.0.7
Tommy Pettersson <ptp at lysator.liu.se>**20060512235738]
[TAG 1.0.7rc1
Tommy Pettersson <ptp at lysator.liu.se>**20060508101408]
[bump version to 1.0.7rc1
Tommy Pettersson <ptp at lysator.liu.se>**20060508101349]
[fix error is is_pipe test in error reporting. (fixes Issue160)
David Roundy <droundy at darcs.net>**20060501142114
The trouble was that Ian (quite naturally) assumed that my C function
stdout_is_a_pipe returned nonzero for true, whereas for some very, very
backwards reason it returned zero for true, and its result was properly
interpreted. So I caused this bug by my (unexplained) backwards
programming, but it was introduced when Ian refactored the C code. :(
]
[TAG 1.0.7pre1
Tommy Pettersson <ptp at lysator.liu.se>**20060427095905]
[Add a --diff-command flag.
Eric Kow <eric.kow at gmail.com>**20060318001522]
[Fix merge conflicts.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060307135524]
[Add a flag to disable use of SSH control master.
Eric Kow <eric.kow at gmail.com>**20060320235217]
[More detailed comments for SSH control master.
Eric Kow <eric.kow at gmail.com>**20060320235200]
[Multiplex transactions over a single ssh connection (issue32).
Eric Kow <eric.kow at loria.fr>**20060317233337
Eliminates the need to type your password a million times. This
requires a recent version of OpenSSH with the ControlMaster feature, but
it is harmless if you do not have it.
]
[Fix a button bar layout bug (wxDarcs).
Eric Kow <eric.kow at gmail.com>**20060307033857]
[Correct gui patch selection for commands like obliterate.
Eric Kow <eric.kow at gmail.com>**20060307032303
The gui patch selection system did not reverse/invert patches in
commands that need this behaviour (obliterate, unrecord). We solve
the problem by relying on code which factorises common behaviour
between the text and graphical patch selection systems.
]
[Fix layout bug in OS X Tiger (wxDarcs).
Eric Kow <eric.kow at gmail.com>**20060302142517
Seems the solution to all gui ills is to add another panel.
]
[Resolve darcs gui conflict.
Eric Kow <eric.kow at gmail.com>**20060302010257
Pull.lhs was conflicting with Edwin Thomson's 2005-12-08 patch
"Don't make merge folders when we don't need them". This
patch merges the changes.
]
[Correct copyFrameworks script (gui, osx).
kow at loria.fr**20060210015833
All binaries and libraries have some entry which tells what libraries
they are linked against. Any libraries which are not on the vanilla OS
X need to be copied into the application bundle so that it will work
anywhere. Whilst copying the libraries, you also need to change the
entries refering to these libraries so that they point to the
application bundle, and not their original path (e.g. /usr/local/lib).
I had done this for the binary, but not for the libraries being copied.
Also, make the copying of libraries recursive.
]
[Correct compilation of gui code in console mode.
Eric Kow <eric.kow at gmail.com>**20060131013107]
[Scripts and makefile target to distribute wxDarcs on OS X.
Eric Kow <eric.kow at gmail.com>**20060131012439
Creates an application bundle and a .dmg file.
]
[Add a standalone graphical interface.
Eric Kow <eric.kow at gmail.com>**20060131012036
The gui code prior to this patch allows graphical darcs forms to be run from
the command line. This builds off that functionality by adding a graphical
front-end, allowing users to access these forms with a click of a button.
In other words, this allows users to run darcs without the command line.
Much more work will have to be done on this front end before it is as usable as
the command-line darcs, but hopefully patch shall kick things off.
]
[Send darcs commands' output to log (gui only).
Eric Kow <eric.kow at gmail.com>**20060130232608
If running in SubGui mode, darcs commands send their output to wxWidgets log
instead of stdout, because under the standalone gui, this output would
otherwise be hidden.
]
[Add a lock mechanism for graphical interfaces.
Eric Kow <eric.kow at gmail.com>**20060130215323
Add a distinct lock for the GUI. What makes this lock different is
that taking and setting the lock are done seperately, instead of
using an atomic operation like withRepoLock. This allows us to
assign the releasing of the lock to GUI events like closing a window.
This would be useful for a standalone interface to prevent weird
race conditions, for example, from mulitple Record windows being open.
Note that withLock is not enough for this purpose; the lock would
already be released before the user even touches the window.
]
[Make unpull, unrecord, obliterate accept --gui.
Eric Kow <eric.kow at gmail.com>**20060130201041
This also has the side effect of them accepting --interactive.
]
[Abstract the patch-viewer widget.
Eric Kow <eric.kow at gmail.com>**20060130153753
We shouldn't care how the patch-viewer is implemented.
]
[Add a SubGui flag.
Eric Kow <eric.kow at gmail.com>**20060130153530
The SubGui flag enables commands to be run under a main GUI.
The idea is that wxhaskell's start function really does not
like to be called more than once, so we avoid calling it
a second time if a main gui already has done so.
]
[Remove tabs in graphical output.
Eric Kow <eric.kow at gmail.com>**20060130134403
Wxhaskell has trouble when tabs are included in the text to be
displayed. We quietly convert these tabs into spaces.
]
[(GUI) Create GuiUtils.lhs, move tree widget code to it.
Eric Kow <eric.kow at gmail.com>**20060129004445
Also, simplify the tree widget code. This file will provide a
central place for various graphical odds and ends.
]
[Refactor calls to Rez in makefile (OS X).
Eric Kow <eric.kow at gmail.com>**20060125235731]
[Fix layout bugs in GUI (buttons were being hidden).
Eric Kow <eric.kow at gmail.com>**20060122215729
For some reason, scrolled windows seem to need to be inside of panels
for them to behave correctly when their parent windows are resized.
Otherwise they hide the button bars used in Record and SelectChanges.
Also, slightly simplify GUI code to avoid proliferation of widgets.
]
[Enable GUI on MacOS X with /Developer/Tools/Rez.
Eric Kow <eric.kow at loria.fr>**20060121004325
Without this command, the darcs GUI does not take focus under MacOS X.
]
[Reimplement flexible GUI widget for whatsnew.
Eric Kow <eric.kow at loria.fr>**20060121001049
The current implementation was not working, maybe as a result of
a wxhaskell or WxWidgets bug in which resized widgets lose their
new sizes when the parent window is resized.
The new implementation works around this by displaying patches in
tree form. Each node is a patch summary, and expanding that node
reveals the full patch.
]
[Freshen GUI code so that it compiles.
Eric Kow <eric.kow at loria.fr>**20060121000818]
[Add umask.c.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060407193255]
[Provide some error reporting for remote identifyRepository.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060325234958]
[Note on sftp usage and other fixes.
Dave Love <fx at gnu.org>**20060403122032]
[Tidy help command.
Eric Kow <eric.kow at gmail.com>**20060402225837]
[Display list of subcommands when getting help on a supercommand.
Eric Kow <eric.kow at gmail.com>**20060402190038]
[Allow for non-empty subdir when applying rmdir patch to working dir.
Eric Kow <eric.kow at gmail.com>**20060405231909
Do not delete the directory; just print a warning. Fix for issue154.
]
[Add a 'is working dir' flag to PatchApply.apply.
Eric Kow <eric.kow at gmail.com>**20060405225201
Half of the solution to issue154. This is so that we can have different
behaviours when applying to the working directory, as opposed to the
pristine tree.
]
[Add test case for issue154 (rmdir on non-empty subdir in working).
Eric Kow <eric.kow at gmail.com>**20060402134933]
[write with fancyPrinters to pager (issue108)
Tommy Pettersson <ptp at lysator.liu.se>**20060319234103]
[make Printers choose policy for supplied file handle
Tommy Pettersson <ptp at lysator.liu.se>**20060319233723]
[Refactor calls to ssh.
Eric Kow <eric.kow at loria.fr>**20060317214816
Also, separate out the argument for the remote address in some calls.
This makes it easier to implement functionality like use of the
ControlMaster feature.
]
[Refactor external-merge feature to use CommandLine.parseCmd.
Eric Kow <eric.kow at gmail.com>**20060320235932
]
[remove spurious '.' in doc
Eric Kow <eric.kow at gmail.com>**20060114230020]
[Added additional common binary image file formats to binary regex.
Daniel Freedman <freedman at alum.mit.edu>**20060321002940]
[Added a RSS link to common.xslt.
Peter Stuifzand <peter at stuifzand.com>**20060321222242
With the RSS link in the head tag it is easier for RSS reader to find the
link.
]
[Add --logfile and --delete-logfile options to send command.
Zachary P. Landau <kapheine at divineinvasion.net>**20060114214510]
[Fix merge conflicts.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060325182457]
[docfix, pull can take more than one URL
Tommy Pettersson <ptp at lysator.liu.se>**20060319193913]
[Use withRepoLock systematically in Repository.lhs.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060303175729
Unlike the other functions in Repository.lhs, get_unrecorded and sync_repo
used to require that the caller chdir to the right place. This fixes this
inconsistency.
]
[Add -i as an alias for --interactive.
Zachary P. Landau <kapheine at divineinvasion.net>**20060302184640]
[refactor amInRepository, am_in_repository and findRepository
Eric Kow <eric.kow at gmail.com>**20060115111509
replace helper functions with general seekRepo function
also refactor am_not_in_repository
]
[remove redundant import.
David Roundy <droundy at darcs.net>**20060318122848]
[Refactor output end of SelectChanges.
Eric Kow <eric.kow at gmail.com>**20060307032052]
[Fix conflict between Zachary P. Landau's and my patch.
Eric Kow <eric.kow at gmail.com>**20060306010743
]
[Refactor SelectChanges.lhs.
Eric Kow <eric.kow at gmail.com>**20060306004421
1. Rearrange parameters of with_any_selected_changes to favour eta reduction.
2. Refactor type definitions for with_selected...changes functions to
indicate that it's all the same thing.
3. Separate patch counting with decisions about which patches we should
consider.
]
[Test pull.pl, CREATE_DIR_ERROR: removed TODO now that directory name is printed in error message
Marnix Klooster <marnix.klooster at gmail.com>**20060304164033
Also removes a superfluous (and erroneous) chdir statement, which tried to
change to non-existing directory templ (last character was ell instead of one).
Also improves the description of this test.
]
[Extend argument substitution for --external-merge
Daan Leijen <daan at equational.org>**20060214062042
Argument substitution used to work on words at the time which made
it difficult to use Windows merge tools like the supernice tortoiseMerge.
Now, substitution of "%a" etc. takes place everywhere and we can write:
--external-merge 'tortoiseMerge /base:"%a" /mine:"%1" /theirs:"%2" /merged:"%o"
To make it complete, we substitute "%%" to "%".
]
[use _darcs/pristine in regression tests
Eric Kow <eric.kow at gmail.com>**20060108222000]
[Use _darcs/pristine instead of _darcs/current.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20051215180814
All versions of Darcs since 1.0.2rc1 are able to handle either name. This
will break compatibility of new repositories with older versions.
]
[Minor simplifications of DateMatcher.lhs.
Eric Kow <eric.kow at loria.fr>**20060317212529]
[Improved support for absolute paths (issue39)
Eric Kow <eric.kow at gmail.com>**20060304111532
This modifies fix_maybe_absolute so that if you specify a repository
directory, any absolute paths prefixed by this directory are converted
to be ones relative to the repodir.
The following commands now account for arguments which are absolute
paths but refer to files in the repository:
add, amend-record, annotate, changes, diff,
mv, record, remove, replace, revert, whatsnew
The following commands are not actually affected, though the code
is changed:
apply, push, pull, put.
This patch also slightly refactors FilePathUtils.lhs
]
[Enable tests for absolute paths.
Eric Kow <eric.kow at gmail.com>**20060304104355]
[--repodir for changes (RT #196 and #567)
Eric Kow <eric.kow at gmail.com>**20060109001224
Changes already accepts a --repo flag for possibly remote repo dirs, but there
is no reason not to also accept --repodir. The gain in consistency outweighs
the cost in redundancy.
Also, do not attempt to get_repodir unless --repo is in the arguments. This
is so that --repodir can work with relative paths. (Otherwise, darcs tries to
change directory twice, which is bad).
]
[--repodir argument for get (RT #196 - controversial?)
Eric Kow <eric.kow at gmail.com>**20051230133605
get already accepts a --repo-name flag, but I see no reason to keep this
distinction, especially if we accept that init should accept --repodir
In this implementation, we also keep the old --repo-name around for backwards
compatability (of dubious value here), but the internal representation is
changed to that of repodir
]
[--repodir argument for several commands (RT #196 and RT #559)
Eric Kow <eric.kow at gmail.com>**20051230021652
Commands affected: dist, optimize, repair, replace, setpref, tag, trackdown
Includes a small repodir test script.
Note that wrt RT #196
* replace and setpref (marked "no need" in the bug report -- but I don't see why not)
* changes (--repo) untouched [ I'd suggest having both flags available ]
* get (--repo-name) [ no reccomendations ]
]
[Added --repodir argument to init (RT #104 and part of RT #196)
Eric Kow <eric.kow at gmail.com>**20051230005424
This implementation also tries to create the repodir if it does not exist.
]
[Perl tests: get rid of 'darcs: <stdin>: hGetLine: end of file' messages
Marnix Klooster <marnix.klooster at gmail.com>**20060304180420
These were printed because 'n' was not answered to 'Really unpull' and 'Really
obliterate' questions.
Also, do not send superfluous '\n' to darcs in echo_to_darcs().
]
[Make darcs exit after last patch in changes --interactive.
Zachary P. Landau <kapheine at divineinvasion.net>**20060303014534
Currently, hitting 'j' on the last patch in changes --interactive has
no effect. This patch will cause darcs to exit, making the command
more consistent with an interactive pull.
]
[Chdir systematically in Repository.lhs.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060303181824
Unlike the other functions in Repository.lhs, applyToPristine, get_unrecorded
and sync_repo used to require that the caller chdir to the right place.
This fixes that inconsistency.
]
[boring += autom4te.cache/
Kirill Smelkov <kirr at mns.spb.ru>**20060130071416]
[Don't make merge folders when we don't need them
edwin.thomson at businesswebsoftware.com**20051208141136
]
[Add "y" and "n" commands to changes --interactive.
Zachary P. Landau <kapheine at divineinvasion.net>**20060115054548]
[Added test selection mechanism to makefile
Eric Kow <eric.kow at gmail.com>**20051230230008
If the developer creates a file test/tests_to_run with the filenames
of the tests to run, only those tests will be run.
]
[Save email description file if a send fails
Zachary P. Landau <kapheine at divineinvasion.net>**20060114204826]
[call unnamed patches "changes" in interactive patch selection dialogue
Tommy Pettersson <ptp at lysator.liu.se>**20060113203829
It currently affects record, revert and amend, but will generally do
"the right thing".
]
[Improved single-character prompt (RT #261)
Eric Kow <eric.kow at gmail.com>**20060108225741
In the dialogue prompting for a single character as a response, if the
user just presses enter, we behave is if we got an invalid response.
This way, the user gets a little bit of feedback that he should respond
differently.
Also: refactors the case where there is a default answer and where the
user may press '?' for help.
]
[Minor tweaks to manual.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060307143305]
[make "-f" a synonym for "--force"
zooko at zooko.com**20060127022211]
[omit the "Finished getting." message when --quiet
Simon Marlow <simonmar at microsoft.com>**20060120074731]
[posthook success/failure messages with --verbose only
Jason Dagit <dagit at codersbase.com>**20060113204930
Changes behavior of posthook status messages. Use --verbose to have
posthook status messages. Error reporting can be turned off with
--quiet. Note: The command run by the posthook might still generate
output, this patch does not address this output.
]
[Fix crash when using changes --interactive with --patch or --match
Zachary P. Landau <kapheine at divineinvasion.net>**20060303013820]
[removed last bits of create-repo from makefile (issue14)
Jason Dagit <dagit at codersbase.com>**20060113212432]
[bump version to 1.0.7pre1
Tommy Pettersson <ptp at lysator.liu.se>**20060301000323]
[show 1.0.6 as latest stable source on web page
Tommy Pettersson <ptp at lysator.liu.se>**20060301000158
Forgot this, again :-/
]
[TAG 1.0.6
Tommy Pettersson <ptp at lysator.liu.se>**20060228111841]
[bump version to 1.0.6
Tommy Pettersson <ptp at lysator.liu.se>**20060228111833]
[fix bug in release state version extraction
Tommy Pettersson <ptp at lysator.liu.se>**20060226182419
Save result of old regexp match before matching new regexps.
]
[remove dependency on unit from normal tests in makefile
Tommy Pettersson <ptp at lysator.liu.se>**20060226181751]
[bump version to 1.0.6rc2
Tommy Pettersson <ptp at lysator.liu.se>**20060226164451]
[TAG 1.0.6rc1
Tommy Pettersson <ptp at lysator.liu.se>**20060219231919]
[bump version to 1.0.6rc1
Tommy Pettersson <ptp at lysator.liu.se>**20060219231900]
[add some changelog entries
Tommy Pettersson <ptp at lysator.liu.se>**20060219231847]
[change suggestion in bestpractices on reverting addfile to use remove
Tommy Pettersson <ptp at lysator.liu.se>**20051115101928]
[resolve conflicts
Tommy Pettersson <ptp at lysator.liu.se>**20060219213218]
[Minor documentation editing.
Bill Trost <trost at cloud.rain.com>**20060108193245
Change details:
* Replace "repo" with "repository" where practical.
* Replace "an email" with something less grating. (-:
* Try to consistify formatting, punctuation, & capitalization.
* etc.
]
[check for malicious path before applying patch (issue48)
Tommy Pettersson <ptp at lysator.liu.se>**20060219192328]
[new test for unpull
Tommy Pettersson <ptp at lysator.liu.se>**20060212172344]
[reimplement --set-script-executable after apply_list unoptimization
Tommy Pettersson <ptp at lysator.liu.se>**20060123004900]
[revert optimization for apply_list
Tommy Pettersson <ptp at lysator.liu.se>**20060119231523
The optimization made unrecord and unpull sometimes fail.
It, unnecessarily, removes the --set-script-executable functionality.
]
[Commute patches when getting a specific version of a repo
edwin.thomson at businesswebsoftware.com**20060208173441
Fix for issue 67
]
[add test for get --tag with commuted patches (Issue67)
Tommy Pettersson <ptp at lysator.liu.se>**20060211194736
Supplied by Grant Husbands.
]
[Add newline between long comment and changed files list in dry-run summary
edwin.thomson at businesswebsoftware.com**20051123162717]
[Update dateparser test with CVS style dates.
Eric Kow <eric.kow at gmail.com>**20060120233434]
[Add time zone support for CVS date parsing. (issue104)
Eric Kow <eric.kow at gmail.com>**20060120233327
]
[remove TODO from three passing tests in pull.pl
Tommy Pettersson <ptp at lysator.liu.se>**20060211183857]
[new TODO test for better message on directory conflict when pulling
Mark Stosberg <mark at summersault.com>**20051124003621]
[test suite: fix some glitches in directory creation/removal
Tommy Pettersson <ptp at lysator.liu.se>**20060130012803]
[Detect dates which overflow. Throw a more helpful error message.
Eric Kow <eric.kow at gmail.com>**20060211194521
An example of a date which overflows is "105 years ago" on my system.
For reference: The "problem" is not so much Haskell's System.Time, but
in the underlying C library. System.Time uses Integer to represent
ClockTime, so theoretically this number can be as big as we want.
However, the function addToClockTime makes a call to 'mktime' (time.h)
to get a value for the number of seconds elapsed since 1970. And this
value is of a fixed-size type (time_h). If the number of seconds
overflows, mktime returns -1 to indicate an error. This is detected by
System.Time and propagated up as a user error "Time.toClockTime: invalid
input".
]
[Correct dateparser test's self-cleanup.
Eric Kow <eric.kow at gmail.com>**20060129210701
The dateparser test was not properly removing its own tmp directory,
causing it to be a pain when using the tests/tests_to_run mechanism.
]
[Remove '4 score, 7 years ago' from dateparser test.
Eric Kow <eric.kow at gmail.com>**20060129210635]
[dateparser.sh only tries to delete tmp if it exists
Jason Dagit <dagit at codersbase.com>**20060114021327]
[All perl tests use cleanup at beginning instead of rm_rf
Jason Dagit <dagit at codersbase.com>**20060114021114
rm_rf will give an error (causing test to fail) when the directory is
missing. Use cleanup instead as it will not give an error.
]
[Added author to darcs record commandline in dateparser.sh
Jason Dagit <dagit at codersbase.com>**20060114021017]
[Corrections to bugfix for (RT #466)
Eric Kow <eric.kow at gmail.com>**20060108225411
The bug fix for case insensitive filesystems was incorrect because
1. canonicalizePath does not canonicalise the same filename with
different cases into the same entry
2. RT #466 affects case sensitive and case insensitive file
systems alike (i.e. the bug description was wrong)
3. canonicalizePath is not available in ghc 6.2.2
This correction also has the advantage of being much simpler and closer
to what David Roundy suggested on the bug tracker. We remove the old
file from the slurpy so that it doesn't get mistaken for the new file.
]
[only create log file when a long comment was requested
Zachary P. Landau <kapheine at divineinvasion.net>**20060108181034]
[Extended date matching functionality.
Eric Kow <eric.kow at gmail.com>**20051228210942
(issue31 and RT #34)
Now accepts ISO 8601 intervals (mostly) as well as a larger subset of
English (including times like "yesterday at noon").
Note: also includes corrections to ISO 8601 date/time parsing, using
a more elegant technique of building dates up.
]
[Partial implementation of iso 8601 dates
Eric Kow <eric.kow at gmail.com>**20051228123040
(issue31) - first step
reluctant to implement (ambiguous!):
* years > 9999
* truncated representations with implied century (89 for 1989)
unimplemented:
* time intervals -- this might be good to have in darcs
* negative dates (BC)
]
[Allow rename to different case (RT #466, case-insensitive file systems)
Eric Kow <eric.kow at gmail.com>**20060106000141
Creates an exception in the check that the new name does not already exists;
it's ok if both names reduce to the same canonical path
]
[save long comment file if a test fails during record
Zachary P. Landau <kapheine at divineinvasion.net>**20051216023948]
[Fixed minor typo in home page.
Marnix Klooster <marnix.klooster at gmail.com>**20060113054649]
[use exact matching in some changelog entries
Tommy Pettersson <ptp at lysator.liu.se>**20060129124023]
[add some changelog entries
Tommy Pettersson <ptp at lysator.liu.se>**20060129123955]
[fix pathname in comment in darcs.cgi.in
zooko at zooko.com**20060112151135]
[fix win32 build breaks
Will <will at glozer.net>**20060112054853]
[fix content-type in rss output of cgi
Will <will at glozer.net>**20060110052938]
[Don't say "yes" in an infinite loop.
Bill Trost <trost at cloud.rain.com>**20060108162605
I ended up with this test hanging forever because the while loop wasn't getting
a SIGPIPE because of the way my editor environment (no controlling tty?) was
set up. We have a pretty good idea of how many "y"s are needed anyhow.
]
[fix crash caused by tests failing on amend-record
Zachary P. Landau <kapheine at divineinvasion.net>**20060108174722]
[More canonization
Eric Kow <eric.kow at gmail.com>**20060108235935
canonized : Mark Stosberg, Erik Schnetter, Joeri van Ruth
identified: Richard Smith, Victor Hugo Borja Rodriguez
]
[Make the "record --pipe" docs match the program behavior.
Bill Trost <trost at cloud.rain.com>**20060107050910]
[Make --exact-version also work if darcs is built from "make dist" tar ball
Marnix Klooster <marnix.klooster at gmail.com>**20060106205857
This is to prevent "darcs --exact-version" outputting something like
darcs compiled on Mar 2 2005, at 10:56:16
unknown
as it does when building from the output of "make dist", e.g., from the
official tarballs at darcs.net. (This is what a lot of people and distros do.
Gentoo does this, and I'm using Gentoo, and I want to be able to do "darcs
--exact-version" and have it output something sensible.)
The reason that this problem occurs is that while doing 'make predist' (in the
'predist' preference), Context.hs was nicely preserved by predist_copy, but
then thrown away by distclean which calls clean. So the resulting tarball has
no Context.hs, which results in the "unknown" exact version.
The solution consists of the following:
* Only remove Context.hs in "clean" if it can be rebuilt using its rule
in automake.mk (i.e., if _darcs/inventory exists, so if we are in a
repository).
* Target realclean is renamed to the newer maintainer-clean and extended a
little, according to the GNU make manual (not strictly necessary).
As a result of this, we now follow GNU makefile conventions more closely. See
the rules in the "Standard Targets for Users" section of the GNU make manual
(currently at http://www.gnu.org/software/make/manual/html_node/make_127.html),
and an interpretation of these rules in the "What Gets Cleaned" section of the
GNU automake manual (currently at
http://www.gnu.org/software/automake/manual/html_node/Clean.html).
Thanks to Taral <taralx at gmail.com> for the above info.
]
[Coalesce setpref (issue70 and RT #349)
Eric Kow <eric.kow at gmail.com>**20051230230842]
[Use temporary file when editing send description.
Zachary P. Landau <kapheine at divineinvasion.net>**20051217212051]
[bug fixes for darcs help
Eric Kow <eric.kow at gmail.com>**20051230011003]
[Support --interactive option in changes command (issue #59).
Zachary P. Landau <kapheine at divineinvasion.net>**20051221052049]
[Implementation of help command
Eric Kow <eric.kow at loria.fr>**20051218172558
(RT #307)
Provides a command to display usage information on the screen.
darcs help = darcs --help
darcs help --verbose = darcs --extended-help
darcs help command = darcs command --help
This implementation understands abbreviated commands and subcommands.
Slightly refactors darcs.lhs.
]
[add a --without-docs option to configure
smithbone at gmail.com**20051228215710]
[resolve conflict
Tommy Pettersson <ptp at lysator.liu.se>**20060108173148]
[Obey normal autoconf conventions.
Dave Love <fx at gnu.org>**20051117190231
Allows you to `make install prefix=...', for instance, and doesn't change
default for sysconfdir.
]
[Move patchSetToPatches to Repository.lhs
Zachary P. Landau <kapheine at divineinvasion.net>**20051219043719]
[reorganize comments (and add a comment) in Depends.lhs.
David Roundy <droundy at darcs.net>**20051218122029]
[fix bug in doesDirectoryReallyExist.
David Roundy <droundy at darcs.net>**20051020121710
We were failing with an exception if there was no such object. The error
message was:
Fail: getSymbolicLinkStatus: does not exist
]
[correction for send.sh test
Eric Kow <eric.kow at loria.fr>**20051218095652
previously failed on (at least) MacOS X 10.3.9
]
[RemoteApply no longer depends on cd, use --repodir instead.
vborja at thehatcher.com**20051110140430
This is a minor change to make darcs no longer use cd
before applying patches to a remote repository.
Now the --repodir option for the apply command is used.
This patch came from a hack to rssh[http://sf.net/projects/rssh]
to allow using darcs as a restricted command without depending
on the cd binary.
http://sf.net/tracker/index.php?func=detail&aid=1351939&group_id=65349&atid=510643
]
[Support signed push
Esa Ilari Vuokko <ei at vuokko.info>**20051129082159]
[Fix typo in multirepo pull.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20051217201918]
[Fix merge conflicts.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20051217201903]
[add changelog entry for multirepo pull.
David Roundy <droundy at darcs.net>**20051215122808]
[add support for pulling from multiple repositories simultaneously.
David Roundy <droundy at darcs.net>**20050919125012]
[Set attachment filename when sending a patch bundle by e-mail.
Zachary P. Landau <kapheine at divineinvasion.net>**20051217195009]
[modernize amend-record.pl to be more portable.
Mark Stosberg <mark at summersault.com>**20050402133417
This depends on the new "echo_to_darcs()" function in Test::Darcs
]
[Fix merge conflicts.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20051214223217]
[Add --subject flag to 'darcs send'
Joeri van Ruth <jvr at blub.net>**20051205120301]
[revert maybe_relink and atomic_create to original C code.
David Roundy <droundy at darcs.net>**20051208131213]
[resolve conflicts between stable and unstable.
David Roundy <droundy at darcs.net>**20051206134818]
[Merge changes
Ian Lynagh <igloo at earth.li>**20051008225210]
[fix mkstemp implementation for win32
Peter Strand <peter at zarquon.se>**20050810211303]
[Implement parts of System.Posix.(IO|Files) for win32
peter at zarquon.se**20050809200433]
[implement RawMode with library functions instead of ffi
peter at zarquon.se**20050809200148]
[call hsc2hs without output filename argument
peter at zarquon.se**20050808220444]
[Rename compat.c to c_compat.c to avoid object filename conflict with Compat.hs
peter at zarquon.se**20050731114011]
[Move atomic_create/sloppy_atomic_create to Compat
Ian Lynagh <igloo at earth.li>**20050730141703]
[Split the raw mode stuff out into its own .hsc file. Windows needs some TLC
Ian Lynagh <igloo at earth.li>**20050730134030]
[Move maybe_relink out of compat.c
Ian Lynagh <igloo at earth.li>**20050730131205]
[Remove is_symlink
Ian Lynagh <igloo at earth.li>**20050730122255]
[Move mkstemp to Compat.hs
Ian Lynagh <igloo at earth.li>**20050730020918]
[Start Compat.hs, and move stdout_is_a_pipe from compat.c
Ian Lynagh <igloo at earth.li>**20050730004829]
[only print 'making executable' in verbose mode
Eric Kow <eric.kow at gmail.com>**20051226182817]
[Fix type incompatibility between C code and Haskell foreign declaration.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20060106154108]
[fix type of foreign calls in FastPackedString.
David Roundy <droundy at darcs.net>**20050920125800]
[implementation of --set-scripts-executable on local darcs get
kow at loria.fr**20051210215122
proposed fix for issue38
The --set-scripts-executable flag is normally evaluated when you apply
patches. But when you do a local darcs get, no patches are applied.
So as a solution, we traverse the directory on local darcs get , and set
any script files to be executable.
Note: one flaw in this patch is that it duplicates the definition of
what a script is -- a file that starts with #! -- in PatchApply.lhs and
Get.lhs. It might be good to refactor these somehow.
]
[extended set-scripts-executable test
kow at loria.fr**20051210200615
added check for local darcs get (issue 38) as well as initial sanity check
]
[add link to darcs-unstable repo on darcs home page
Tommy Pettersson <ptp at lysator.liu.se>**20060107212721]
[Update "darcs init" documentation to match its behavior.
Bill Trost <trost at cloud.rain.com>**20060105040737]
[Invert 'file exists already' error message in mv
Eric Kow <eric.kow at gmail.com>**20051230220431
mv used the wrong error message for --case-ok and opposite
]
[Canonize myself and almost all other contributers.
Eric Kow <eric.kow at gmail.com>**20051229140428
Add function to append name to email address
Merged: Marnix Klooster, Eric Kow, Andres Loeh, Esa Ilari Vuokko
Looked up name on Google for most orphaned email addresses.
Hope nobody actually objects to this.
]
[fix for Issue14 remove darcs-createrepo
Jason Dagit <dagit at codersbase.com>**20051224002230]
[Do not document "darcs query manifest" twice.
Erik Schnetter <schnetter at cct.lsu.edu>**20051222125103]
[Rename git.c to gitlib.c
Erik Schnetter <schnetter at cct.lsu.edu>**20051222115318
On case-insensitive file systems, the source files Git.lhs and git.c
lead to the same object file git.o. Renaming git.c to gitlib.c solves
this problem.
]
[Remove periods from the AC_MSG_CHECKING call for the release state.
Matt Kraai <kraai at ftbfs.org>**20051220174536]
[rename RepoTypes to PatchSet.
David Roundy <droundy at darcs.net>**20050917133920]
[remove PatchSequence, which has long been obsolete.
David Roundy <droundy at darcs.net>**20050917133313
The patch removes remaining vestiges of PatchSequence, which was obsoleted
long ago by PatchSet (which stores patches in the opposite order (better
for lazy use) and which has additional information about tags that allows
us to avoid looking at old history.
]
[Clarify wording for changes that can't be unreverted
me at JonathonMah.com**20051216151120]
[properly quote paths so that paths with spaces in them are okay
zooko at zooko.com**20051121195057]
[fix up debug printouts in cygwin-wrapper.bash
zooko at zooko.com**20051115011712]
[smoother invocation of cygwin-wrapper.bash -- it detects fully-qualified path to itself by leading /
zooko at zooko.com**20051115011702]
[print out the patch name when a test fails.
Zachary P. Landau <kapheine at divineinvasion.net>**20051205055109]
[Use POSIX-style option for 'head', instead of obsolescent syntax
Marnix Klooster <marnix.klooster at gmail.com>**20051216111731]
[Fix mistyped /dev/null, fixes --sendmail-command in Windows
Esa Ilari Vuokko <ei at vuokko.info>**20051129160120]
[Use \ as path separator for GnuPG in Windows -- makes apply --verify work
Esa Ilari Vuokko <ei at vuokko.info>**20051129164533]
[make dangers and recommended use of "Amend" clearer in the docs.
Mark Stosberg <mark at summersault.com>**20051213140523
I think it's important to be clearer about when it's appropriate to use 'amend',
so I moved some notes into the short and mid-length help texts.
]
[update web page to reflect 1.0.5 as latest stable source.
Tommy Pettersson <ptp at lysator.liu.se>**20051213111137]
[fix handling of absolute paths containing drive letters
Will <will at glozer.net>**20051208054737
This fixes issue 47 where paths containing drive letters (i.e. on windows)
are not treated as absolute paths.
]
[bump version to 1.0.6pre1
Tommy Pettersson <ptp at lysator.liu.se>**20051208092839]
[TAG 1.0.5
Tommy Pettersson <ptp at lysator.liu.se>**20051207112730]
[add changelog entry
Tommy Pettersson <ptp at lysator.liu.se>**20051207112704]
[bump version to 1.0.5
Tommy Pettersson <ptp at lysator.liu.se>**20051204161803]
[TAG 1.0.5rc2
Tommy Pettersson <ptp at lysator.liu.se>**20051204152416]
[add changelog entries
Tommy Pettersson <ptp at lysator.liu.se>**20051204151312]
[bump version to 1.0.5rc2
Tommy Pettersson <ptp at lysator.liu.se>**20051204150926]
[skip tests that fail because of windows or msys
Will <will at glozer.net>**20051204035855]
[use autoconf to determine which GHC modules to use
Will <will at glozer.net>**20051204022613
GNUmakefile had the util and text packages hard coded, but the util package
appears to be missing from the current ghc-6-4-branch. Instead of hard
coding packages, use autoconf to include them when necessary.
]
[use System.Posix.sleep and fix the win32 implementation
Will <will at glozer.net>**20051204002859
Make Lock.lhs use the sleep function from System.Posix rather than importing
the C implementation. Also fix the the win32 implementation to call SleepEx
rather than sleep from unistd.h which has been deprecated in recent versions
of mingw.
]
[Make --help and --list-commands ignore other options
kow at loria.fr**20051204001207
Proposed implementation of issue34 on the wishlist.
If --help is one of the options you provide, then darcs prints
the help and does nothing else, no matter what order you put
the options in. Similar behaviour for --list-commands.
]
[Make send --ouput - to print to stdout
Esa Ilari Vuokko <ei at vuokko.info>**20051129201708]
[Support apply --verify for bundles signed by GnuPG in Windows
Esa Ilari Vuokko <ei at vuokko.info>**20051126223238]
[TAG 1.0.5rc1
Tommy Pettersson <ptp at lysator.liu.se>**20051125191739]
[add some changelog entries
Tommy Pettersson <ptp at lysator.liu.se>**20051125191633]
[remove tabs from darcs source file
Tommy Pettersson <ptp at lysator.liu.se>**20051120200002]
[Added a test for changes --context patch selection.
Daniel B?nzli <daniel.buenzli at epfl.ch>**20051120170157]
[Emacs ediff-merge example and explanation of --external-merge.
Dave Love <fx at gnu.org>**20051117154924]
[Fix patch selection for command changes --context
Daniel B?nzli <daniel.buenzli at epfl.ch>**20051117145112]
[fix bug in amInRepository.
David Roundy <droundy at darcs.net>**20051117131208
This is the bug that causes issue9. I'm a bit uncertain about this
patch--it looks obvious, but this is pretty subtle code.
]
[fix bug where darcs tries to delete open tempfile on win32
Will <will at glozer.net>**20051117023516]
[bump version to 1.0.5rc1
Tommy Pettersson <ptp at lysator.liu.se>**20051117111128]
[Fixed documentation of DARCS_GET_HTTP with curl.
Daniel B?nzli <daniel.buenzli at epfl.ch>**20051117062547]
[add --dont-edit-description opposite to --edit-description.
David Roundy <droundy at darcs.net>**20051116115632]
[Flag superfluous input using Test::Builder
Florian Weimer <fw at deneb.enyo.de>**20051112160533
This change makes sure that the test case that triggers this error
condition fails in a clean way (especially if test planning is not used,
but it should work with plans as well).
]
[English and markup fixes.
Dave Love <fx at gnu.org>**20051114224845]
[update web page to reflect 1.0.4 as latest stable source.
David Roundy <droundy at darcs.net>**20051113210144]
[TAG 1.0.4
David Roundy <droundy at darcs.net>**20051113134431]
[bump version number to 1.0.4.
David Roundy <droundy at darcs.net>**20051112170053]
[fix, move default markings of Query Manifest flags right
Tommy Pettersson <ptp at lysator.liu.se>**20051112185325
Files are included and dirs are not, by default.
]
[make determine_release_state.pl work properly for actual releases.
David Roundy <droundy at darcs.net>**20051112171734]
[add note in docs about bug with DARCS_DONT_ESCAPE_ISPRINT with GHC 6.4
Tommy Pettersson <ptp at lysator.liu.se>**20051112153628]
[set DARCS_EDITOR in send.sh so darcs won't actually call a real editor.
David Roundy <droundy at darcs.net>**20051112145118]
[Add BUGS section.
Dave Love <fx at gnu.org>**20051112135212
The info should also be added to the manual somewhere appropriate.
]
[Add bug address to help text.
Dave Love <fx at gnu.org>**20051112105924]
[fix bug in darcs_completion when you match the "." character.
David Roundy <droundy at darcs.net>**20051112140357]
[add a few more changelog entries.
David Roundy <droundy at darcs.net>**20051111133638]
[fix bug in code for external conflict resolution.
David Roundy <droundy at darcs.net>**20051111132557]
[spelling fix in docs.
David Roundy <droundy at darcs.net>**20051111123035]
[use substrPS for more robust searching for the patch bundle hash.
David Roundy <droundy at darcs.net>**20051110145918]
[speed up replace by first checking on each line if there might be a match.
David Roundy <droundy at darcs.net>**20051110143047
The idea is that if there is no substring match, there won't be a token
match, and we can save huge amounts of time. On my very simple test
(replacing if with fi in all of darcs' files), the speedup took us from 30
seconds to 3 seconds to pull.
]
[implement FastPackedString.substrPS, which searches for a substring.
David Roundy <droundy at darcs.net>**20051110140311]
[make pull.pl work on MacOS X using ugly hack.
droundy at abridgegame.org**20051109131645
For some reason ghc on MacOX X gives an Unknown error 0 where it ought to
give a "permission denied" error. This change just makes us recognize this
and turns the test failure into a TODO check.
]
[add a couple of changelog entries.
David Roundy <droundy at darcs.net>**20051108132617]
[make sftp honor the SSH_PORT env variable.
David Roundy <droundy at darcs.net>**20051108131847]
[Fix spurious failure of the revert test case
Florian Weimer <fw at deneb.enyo.de>**20051107195237
"darcs revert -a" does not require confirmation.
]
[Check for excess input in test cases
Florian Weimer <fw at deneb.enyo.de>**20051107195045
This change also fixes a latent race condition (by adding a call to
waitpid): darcs might not have run to completion when echo_to_darcs
returns.
]
[During tests, do not exit silently when a write fails
Florian Weimer <fw at deneb.enyo.de>**20051107194913]
[Avoid putting a wrongly-named directory in dist tarball if the name we wanted already exists in $TMPDIR
Simon McVittie <http://www.pseudorandom.co.uk/>**20051106145821]
[fix example in doc to work with version 1.0.3 and above
Tommy Pettersson <ptp at lysator.liu.se>**20051106232940
Discovered and fix suggested by Pavel Pisa.
]
[update version number to 1.0.4rc3.
David Roundy <droundy at darcs.net>**20051108120613]
[TAG 1.0.4rc2
David Roundy <droundy at darcs.net>**20051106121631]
[rewrite hunk application code to reinstate consistency checking.
David Roundy <droundy at darcs.net>**20051105190307
In the optimization, Ian dropped checking that the "old" state of the file
matches what the patch thinks. This works fine until a repository becomes
corrupt, at which point it makes the corruption harder to pinpoint (and
makes it able to sneak by longer without being seen).
]
[mark as TODO a merge bug that was uncovered by another bugfix.
David Roundy <droundy at darcs.net>**20051105184800
This doesn't look like a pleasant bug, but the fix is a real fix, which I
want to get into the stable release.
]
[add test for newlineless patches.
David Roundy <droundy at darcs.net>**20051105171242]
[fix bug in record --ask-deps
David Roundy <droundy at darcs.net>**20051103014858
This fixes the "pull_firsts_middles called badly" bug. It's a bit of an
ugly hack to work around the Ian's ugly hack that makes:
$ echo a | darcs record -m foo
as memory-efficient (and time-efficient, too) as
$ darcs record --all -m foo
I do have some ideas how we might be able to avoid some of this
ugliness...
]
[add changelog entry for RT#476 bugfix.
David Roundy <droundy at darcs.net>**20051102145144]
[Implement caching of git sequences in GitRepo.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20051031132139]
[Reorganized command overview in manual.
dbindner at truman.edu**20051029153655]
[Remove obsolete comment.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20051027183940]
[Use gitCommitDatePS instead of gitCommitDate when choosing Git ancestors.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20051027182421]
[Use PackedStrings when parsing Git authors.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20051027182400]
[Use the new breakFirstPairPS instead of break2PS.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20051027180138]
[Change breakFirstPairPS to return slightly larger strings.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20051027180107]
[Use packed strings when parsing Git commits.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20051026005323]
[Implement break2PS.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20051026005236]
[Choose better ancestors for Git merges.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20051025215522
The common ancestor will be chosen optimally assuming that the Git
ancestry graph is a semilattice and commit dates are monotonic. If
the Git ancestry graph is unstructured, the youngest ancestor will
be chosen.
If Git dates are not ordered, all bets are off.
The algorithm is at least O(h*w^2), where h is the height of the
ancestry graph and w is the number of ancestors, but profiling shows
that this doesn't matter much -- commuting patches is what takes all
the time.
]
[Implement gitCommitDate.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20051025213832]
[Clarify docs for building darcs-git.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20051025231344]
[give better error messages when cloning trees
David Roundy <droundy at darcs.net>**20051020124139
Also make cloneSubTree ignore nonexistent objects. I belive this solves
the issue with bug #562.
]
[fix html package inclusion in user manual
Andres Loeh <loeh at iai.uni-bonn.de>**20051013200817]
[improve command-line help for put.
David Roundy <droundy at darcs.net>**20051014115911]
[add warning to docs about inefficiency of put.
David Roundy <droundy at darcs.net>**20051013124058]
[add the new put command to list in doc
Tommy Pettersson <ptp at lysator.liu.se>**20051013103518]
[update documentation on matching ranges
Tommy Pettersson <ptp at lysator.liu.se>**20051012163804
The matching patch at either end of a range is included in the output.
]
[document DARCS_DONT_ESCAPE_TRAILING_CR
Tommy Pettersson <ptp at lysator.liu.se>**20051012140458]
[fix typo
Tommy Pettersson <ptp at lysator.liu.se>**20051010190733]
[avoid duplicated code for constructing patch bundles in Push.
David Roundy <droundy at darcs.net>**20051011123752]
[remove *.ko files from the default boring regexps.
David Roundy <droundy at darcs.net>**20051011131624
They could be Korean translations rather than kernel modules.
]
[add changelog entry for #544.
David Roundy <droundy at darcs.net>**20051009115143]
[fix bug #544, caused by outputing changes --context with escaping and coloring.
David Roundy <droundy at darcs.net>**20051009114941]
[add test for bug #544
David Roundy <droundy at darcs.net>**20051009114914]
[bump version to 1.0.4rc2
Tommy Pettersson <ptp at lysator.liu.se>**20051010164926]
[TAG 1.0.4rc1
Tommy Pettersson <ptp at lysator.liu.se>**20051008101653]
[remove old footnote that caused doc-building trouble.
David Roundy <droundy at darcs.net>**20051008002612]
[specify default --author in whatsnew.pl.
David Roundy <droundy at darcs.net>**20051007235714]
[use prefix and userchunkPS in coolContextHunk
Tommy Pettersson <ptp at lysator.liu.se>**20050923093032
This makes escaping of trailing spaces work in unified output.
]
[add changelog entry for bug #512.
David Roundy <droundy at darcs.net>**20051007123717]
[make --summary have effect in interactive commands
David Roundy <droundy at darcs.net>**20051007123507]
[make --dry-run --summary indent the summaries like changes does.
David Roundy <droundy at darcs.net>**20051007123427]
[Fix typos in description of unpull.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20051006204813
Thanks to frithjof.
]
[avoid excess printing in set_scripts_executable.pl.
David Roundy <droundy at darcs.net>**20051007112545]
[fix documentation typos
Andres Loeh <loeh at iai.uni-bonn.de>**20050918175732]
[description environment for explanation of --summary flags
Andres Loeh <loeh at iai.uni-bonn.de>**20050918175612]
[remove/change/fix some quotation marks
Andres Loeh <loeh at iai.uni-bonn.de>**20050918171105]
[remove occurrences of \bf, \tt, and \em
Andres Loeh <loeh at iai.uni-bonn.de>**20050918170214]
[fix bug in whatsnew on files without trailing newlines.
David Roundy <droundy at darcs.net>**20051004124355]
[add test for whatsnew -s on file without newline.
David Roundy <droundy at darcs.net>**20050905123225]
[fix bug in set_scripts_executable test, and related bug in apply.
David Roundy <droundy at darcs.net>**20051006111849]
[clean up tests/set_scripts_executable.pl.
David Roundy <droundy at darcs.net>**20051004131951]
[make --set-scripts-executable work once again.
David Roundy <droundy at darcs.net>**20051004131756]
[add executable bit support to Readable/WriteableDirectory.
David Roundy <droundy at darcs.net>**20051003123240]
[remove occurances of "'" that messed up my emacs coloring...
David Roundy <droundy at darcs.net>**20050919122443]
[-add test script for --set-scripts-executable
Mark Stosberg <mark at summersault.com>**20050901015046
It's currently failing because darcs is currently broken in this regard. I commented
out a "TODO" test in case you want to make to this a TODO test until
someone gets to it.
]
[add two changelog entries.
David Roundy <droundy at darcs.net>**20051004132328]
[update copyright dates.
David Roundy <droundy at darcs.net>**20051004131936]
[only use ascii chars in quoted escapes of non-printable chars
Tommy Pettersson <ptp at lysator.liu.se>**20050920163959
Haskell interprets Char as unicode regardless of the systems locale,
so isPrint can't be used the way it was used to find suitable escape
quotings. Ascii fortunately is unicode, so the simple fix is to restrict
escape quotings to only use (printable) ascii chars.
]
[Installation doc readability fixes
Thomas Zander <zander at kde.org>**20050924163649]
[simplify docs-- why "CVS" is in the boring file is self-evident.
Mark Stosberg <mark at summersault.com>**20050927131847]
[add two new changelog entries.
David Roundy <droundy at darcs.net>**20050910110115]
[fix bug in resolve.pl test.
David Roundy <droundy at darcs.net>**20050910103833]
[Change an rm_rf to a cleanup in tests/disable.pl
Ian Lynagh <igloo at earth.li>**20050902024711]
[make gzReadFileLazily close files sooner.
David Roundy <droundy at darcs.net>**20050827211253]
[fix "No root path(s) specified at ..." testsuite problem.
David Roundy <droundy at darcs.net>**20050830121603]
[add test that triggers "too many open files" bug.
David Roundy <droundy at darcs.net>**20050827192215
We just need to pull over 1024 patches at once to trigger this bug on my
linux system.
]
[give better output on sftp errors.
David Roundy <droundy at darcs.net>**20050908125423]
[make darcs not generate null binary patches when diffing.
David Roundy <droundy at darcs.net>**20050907125129]
[make darcs able to eliminate null binary and hunk patches when coalescing.
David Roundy <droundy at darcs.net>**20050907125104]
[add test that adding and removing binary files leaves no change.
David Roundy <droundy at darcs.net>**20050907122509]
[fix some typos in comments
Conrad Parker <conrad at metadecks.org>**20050904225715]
[Make print_dry_run_message_and_exit print summaries if All and Summary.
David Roundy <droundy at darcs.net>**20050904125434
This is a somewhat hokey way to make --all --summary print summary
messages.
]
[add changelog entry for configure script checking on darcs being present.
David Roundy <droundy at darcs.net>**20050905113258]
[fix bug where we tried to run darcs when darcs wasn't present.
David Roundy <droundy at darcs.net>**20050905112935]
[revert accidental directory name change in Test.
David Roundy <droundy at darcs.net>**20050904123424]
[fix bug triggered by --no-pristine-tree and running test.
David Roundy <droundy at darcs.net>**20050903132055
The trouble was that the NoPristine version of createPristineDirectoryTree
would fail if the directory already exists, which isn't the intended
behavior. I also took this opportunity to remove the "stubbornly" function
and replace some stubborn directory creation with
createDirectoryIfMissing.
]
[don't create test directory if we don't want to actually run test.
David Roundy <droundy at darcs.net>**20050903130722]
[add test script that displays --no-pristine test-related bug.
David Roundy <droundy at darcs.net>**20050903132906]
[add changelog entry for recent pristine bugfix.
David Roundy <droundy at darcs.net>**20050903134039]
[clean up docs on flags directly to darcs (not to a darcs command).
David Roundy <droundy at darcs.net>**20050903124050]
[bump version to 1.0.4rc1.
David Roundy <droundy at darcs.net>**20050903114002]
[update the web page to direct new users first to the precompiled binaries rather than first to the source
zooko at zooko.com**20050902162737]
[TAG 1.0.4pre4
David Roundy <droundy at darcs.net>**20050901110418]
[add changelog entry for makefile fix.
David Roundy <droundy at darcs.net>**20050901110353]
[bump version to 1.0.4pre4.
David Roundy <droundy at darcs.net>**20050901110210]
[fix DESTDIR syntax errors in makefile
Andres Loeh <loeh at iai.uni-bonn.de>**20050831192410]
[TAG 1.0.4pre3
David Roundy <droundy at darcs.net>**20050831115448]
[add two changelog entries.
David Roundy <droundy at darcs.net>**20050831113335]
[only create directories on install if they don't exist (bug #494)
David Roundy <droundy at darcs.net>**20050831113142]
[fix bug in whatsnew -l -l (rt#501).
David Roundy <droundy at darcs.net>**20050831110552]
[fix typo in docs.
David Roundy <droundy at darcs.net>**20050831002520]
[fix --posthook code to pass tests.
David Roundy <droundy at darcs.net>**20050830132225]
[add test for --disable.
David Roundy <droundy at darcs.net>**20050830132122]
[add changelog entry for --posthook.
David Roundy <droundy at darcs.net>**20050830132110]
[add skeleton posthook test.
David Roundy <droundy at darcs.net>**20050827123744]
[posthook documentation
Jason Dagit <dagit at codersbase.com>**20050825045706]
[changed from --posthook-command to posthook
Jason Dagit <dagit at codersbase.com>**20050825043414]
[now the posthook options appear for each command
Jason Dagit <dagit at codersbase.com>**20050825043305]
[posthook for apply
Jason Dagit <dagit at codersbase.com>**20050803070343
With this patch it is now possible to specify a command to run after every
successful apply.
]
[added run_posthook for actually running posthooks
Jason Dagit <dagit at codersbase.com>**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.
]
[added posthook command line switches
Jason Dagit <dagit at codersbase.com>**20050803065956
Added generic posthook command line switches. This patch does not add any
posthooks to any command.
]
[New implementation of comparePS, based on memcmp. 1/5 space usage, 96% faster
dons at cse.unsw.edu.au**20050827070030]
[Rewrite gcau, add explanatory comment from David and some TODO notes
Ian Lynagh <igloo at earth.li>**20050830020943]
[update building darcs section of manual.
David Roundy <droundy at darcs.net>**20050829120152]
[add bench directory with a single script in it.
David Roundy <droundy at darcs.net>**20050828114118
See bench/README for discussion of the idea behind this.
]
[Use substrPS-less versions of initPS and tailPS
dons at cse.unsw.edu.au**20050827023214]
[remove hideous malloc hack.
David Roundy <droundy at darcs.net>**20050818161411]
[Remove unused function
Ian Lynagh <igloo at earth.li>**20050730010118]
[fix for bug Ian found in apply.
David Roundy <droundy at abridgegame.org>**20050811162558
This is the bug manifested in the cabal repository.
]
[Move slurping into syncPristine.
Juliusz Chroboczek <jch at pps.jussieu.fr>**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 <jch at pps.jussieu.fr>**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.
]
[fix compilation errors with ghc-6.2.2 on win32
Peter Strand <peter at zarquon.se>**20050809192759]
[Retain both Git's author and committer.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20050810000820]
[make repair work on partial repositories.
David Roundy <droundy at abridgegame.org>**20050805113001]
[Cleanup --verbose handling in repair command
Matt Lavin <matt.lavin at gmail.com>**20050805020630]
[change my AUTHORS email to droundy at darcs.net.
David Roundy <droundy at abridgegame.org>**20050808124703]
[clean up Printer.wrap_text.
David Roundy <droundy at abridgegame.org>**20050808114844]
[add several changelog entries.
David Roundy <droundy at abridgegame.org>**20050808114800]
[improve EOD message a tad.
David Roundy <droundy at abridgegame.org>**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 <dagit at codersbase.com>**20050729032543]
[remove unused opts argument from apply_patches and apply_patches_with_feedback
Matt Lavin <matt.lavin at gmail.com>**20050807031038]
[Use apply_patch_with_feedback from check and repair commands
Matt Lavin <matt.lavin at gmail.com>**20050805020830]
[add code to read patch bundles with added CRs.
David Roundy <droundy at abridgegame.org>**20050806222631
I think this'll address bug #291.
]
[accept command-line flags in any order.
David Roundy <droundy at abridgegame.org>**20050806211828
In particular, we no longer require that --flags precede filename and
repository arguments.
]
[show patch numbers instead of dots on get
Matt Lavin <matt.lavin at gmail.com>**20050804013649]
[add obliterate command as alias for unpull.
David Roundy <droundy at abridgegame.org>**20050804104929]
[Do not ask confirmation for revert -a
jani at iv.ro**20050627124011
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 <droundy at abridgegame.org>**20050806231117]
[Add --with-static-libs configure flag for linking static versions of libraries.
v.haisman at sh.cvut.cz**20050729015539]
[add changelog entry for bug #477.
David Roundy <droundy at abridgegame.org>**20050806212148]
[changelog entry for bug #189.
David Roundy <droundy at abridgegame.org>**20050731132624]
[add description of how to add changelog entries to ChangeLog.README.
David Roundy <droundy at abridgegame.org>**20050806225901]
[Explain the missing ChangeLog
Mark Stosberg <mark at summersault.com>**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 <droundy at abridgegame.org>**20050804130610]
[simplify fix for bug 463; reuse /// from FilePathUtils
Matt Lavin <matt.lavin at gmail.com>**20050804021130]
[Make curl exit with error on failed downloads
peter at zarquon.se**20050802192833]
[Bump up AC_PREREQ version to 2.59.
v.haisman at sh.cvut.cz**20050801173925]
[fix for bug 463 (with new test)
Matt Lavin <matt.lavin at gmail.com>**20050802002116]
[bump version number, since I just made a release.
David Roundy <droundy at abridgegame.org>**20050731190756]
[Use simpler curl_version() function to get version string.
Kannan Goundan <kannan at cakoose.com>**20050322221027]
[fix documentation on --reorder-patches.
David Roundy <droundy at abridgegame.org>**20050731185406]
[add changelog entry for bug #224.
David Roundy <droundy at abridgegame.org>**20050731133942]
[fix bug when editing long comment leaves empty file.
David Roundy <droundy at abridgegame.org>**20050731133612]
[TAG 1.0.4pre2
David Roundy <droundy at abridgegame.org>**20050731121029]
[add changelog entry and building darcsgit section to manual.
David Roundy <droundy at abridgegame.org>**20050731120458]
[check for a git/ in current directory (when --enable-git).
David Roundy <droundy at abridgegame.org>**20050731112740]
[remove the now-unneeded git/.
David Roundy <droundy at abridgegame.org>**20050731105656]
[fix darcs --commands, which was broken by subcommand code.
David Roundy <droundy at abridgegame.org>**20050730111501]
[Merge changes
Ian Lynagh <igloo at earth.li>**20050728230858]
[Update QueryManifest with the Repository changes
Ian Lynagh <igloo at earth.li>**20050728185646]
[Merge changes
Florian Weimer <fw at deneb.enyo.de>**20050607203225]
[Test case for "query manifest"
Florian Weimer <fw at deneb.enyo.de>**20050510113803]
[Remove the "query changes" and "query annotate" subcommands
Florian Weimer <fw at deneb.enyo.de>**20050510060221]
[Do not mention file name in error message for disabled commands
Florian Weimer <fw at deneb.enyo.de>**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 <fw at deneb.enyo.de>**20050510054744]
[Resolve conflict
Florian Weimer <fw at deneb.enyo.de>**20050510054405]
[Add --help in command_options, like --disable
Florian Weimer <fw at deneb.enyo.de>**20050510053348
--list-options is still separate, to keep it undocumented.
]
[Resolve conflict
Florian Weimer <fw at deneb.enyo.de>**20050510052119]
[Move --disable to the end of the option list
Florian Weimer <fw at deneb.enyo.de>**20050510051905]
[Include the query subcommand documentation in Query.lhs
Florian Weimer <fw at deneb.enyo.de>**20050510051533]
[Print usage information if the subcommand is missing
Florian Weimer <fw at deneb.enyo.de>**20050509101427
Add a separating line to the invalid subcommand error message.
]
[Fix empty lines in "darcs query --help" output
Florian Weimer <fw at deneb.enyo.de>**20050509100509]
[Resolve conflicts
Florian Weimer <fw at deneb.enyo.de>**20050509094729]
[Add the --disable option in command_options, not in run_the_command
Florian Weimer <fw at deneb.enyo.de>**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 <fw at deneb.enyo.de>**20050508080502]
[Add the --files and --directories options to "query manifest"
Florian Weimer <fw at deneb.enyo.de>**20050507223327]
[Implement list_slurpy_dirs
Florian Weimer <fw at deneb.enyo.de>**20050507223257]
[Add --null flag to the "query manifest" command
Florian Weimer <fw at deneb.enyo.de>**20050507213547]
[Add "query manifest" command
Florian Weimer <fw at deneb.enyo.de>**20050507163125]
[Implement the \haskell command for subcommands
Florian Weimer <fw at deneb.enyo.de>**20050507160607]
[Mention the structure of subcommands in the documentation
Florian Weimer <fw at deneb.enyo.de>**20050507151003]
[Handle subcommands in the preprocessor
Florian Weimer <fw at deneb.enyo.de>**20050507150829
You can use "\options{SUPER SUB}" to document the options of a
subcommand.
]
[make determine_release_state.pl not touch ThisVersion.lhs unless it's changed.
David Roundy <droundy at abridgegame.org>**20050730193258
This saves us considerable time checking whether anything needs to be
recompiled.
]
[Autoconf support for linking against libgit.a
Wim Lewis <wiml at hhhh.org>**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 <wiml at hhhh.org>**20050731050259]
[Use AS_HELP_STRING to format option descriptions
Wim Lewis <wiml at hhhh.org>**20050729185632]
[Simplify curses/ncurses search; use $LIBS
Wim Lewis <wiml at hhhh.org>**20050729183440]
[Changes for Git 0.99
Juliusz Chroboczek <jch at pps.jussieu.fr>**20050730213601]
[Do not include the "query" command in the manual
Florian Weimer <fw at deneb.enyo.de>**20050507150707
The commands will be documented individually, in the relevant section.
]
[Mention "query" subcommands in the man page
Florian Weimer <fw at deneb.enyo.de>**20050507135756
"changes" is now documented as "query changes". "query annotate" is
mentioned, too.
]
[add subcommand infrastructure and (currently useless) query command.
David Roundy <droundy at abridgegame.org>**20050507115457
The idea of course is that this can be readily extended to add nice new
simple subcommands under query.
]
[share target collection code in send implementation
Matt Lavin <matt.lavin at gmail.com>**20050730212012]
[Make send --to override default email and add test for it
Matt Lavin <matt.lavin at gmail.com>**20050730185352]
[remove unused #define from windows flags.
David Roundy <droundy at abridgegame.org>**20050730124558]
[mention in changelog the win32 build improvement in recognizing windows.
David Roundy <droundy at abridgegame.org>**20050730124809]
[use presence of windows.h to decide if we're in windows.
David Roundy <droundy at abridgegame.org>**20050730124536]
[add new changelog entry and update older one.
David Roundy <droundy at abridgegame.org>**20050730115001]
[fix bug introduced in 208 fix which messed up --list-options output.
David Roundy <droundy at abridgegame.org>**20050729121804
We need to make sure that drop_paths doesn't do anything to an absolute
path or URL.
]
[Don't die on sigALRM (linking with -threaded means we see loads of them)
Ian Lynagh <igloo at earth.li>**20050728131023]
[Give help for 'c' in selectchanges
Ian Lynagh <igloo at earth.li>**20050728125910]
[Include autoconf-detected libs in LDFLAGS
Joshua J. Berry <condor-dev at condordes.net>**20050728031609
Autoconf uses @LIBS@ -- not @LDFLAGS@ -- for libraries it detects (e.g. using
AC_SEARCH_LIBS).
]
[resolve conflict with myself...
David Roundy <droundy at abridgegame.org>**20050727100745]
[fix pulling from a relative defaultrepo from within a subdirectory.
David Roundy <droundy at abridgegame.org>**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 <igloo at earth.li>**20050727025308]
[replace write_pending with "with_new_pending".
David Roundy <droundy at abridgegame.org>**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 <igloo at earth.li>**20050709114603]
[remove TODO annotation for two tests that now pass.
David Roundy <droundy at abridgegame.org>**20050728115034]
[new changelog entries.
David Roundy <droundy at abridgegame.org>**20050726123329]
[clean up formatting in Depends.
David Roundy <droundy at abridgegame.org>**20050723130807]
[changelog entry for fix to RT#208.
David Roundy <droundy at abridgegame.org>**20050722113803]
[make make_changelog a bit more flexible in its parsing.
David Roundy <droundy at abridgegame.org>**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 <droundy at abridgegame.org>**20050722105908]
[make make_changelog ignore boring files (emacs backups) in changelog.in/entries/.
David Roundy <droundy at abridgegame.org>**20050726121455]
[fix bug in get_patches_beyond_tag that broke get --partial.
David Roundy <droundy at abridgegame.org>**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.
]
[add changelog entry for get --partial fix.
David Roundy <droundy at abridgegame.org>**20050723130715]
[scrunch up the tla/cvs tables a bit in the manual.
David Roundy <droundy at abridgegame.org>**20050724181011]
[another alternative formatting for cvs/tla tables.
Erik Schnetter <schnetter at aei.mpg.de>**20050724134656]
[alternative formatting for cvs/tla tables.
Erik Schnetter <schnetter at aei.mpg.de>**20050724113905]
[make add/remove --list-options not output preceding ./
David Roundy <droundy at abridgegame.org>**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 <will at glozer.net>**20050722181028]
[Make DarcsRepo.add_to_inventory take a list.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20050720174029
This avoids opening the inventory multiple times. Thanks to Ian for the hint.
]
[Use mapM_ instead of the comprehensible alternative.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20050720164258
Mentioning mapM_ always impresses people at dinner parties. Thanks to
Ian for the hint.
]
[Move iterateGitTree out of the IO monad.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20050720162841
We're reading immutable on-disk data, it's safe to do it unsafely.
]
[Clean up usage of interleaveIO in Git.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20050720162251]
[fix write_problem to show all problems.
David Roundy <droundy at abridgegame.org>**20050717110628]
[Rename bound variable in fromJust macro.
Juliusz Chroboczek <jch at pps.jussieu.fr>**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 <igloo at earth.li>**20050718193534]
[put configure.ac back in the public domain.
David Roundy <droundy at abridgegame.org>**20050720115702]
[don't import head and tail, which are in the prelude.
David Roundy <droundy at abridgegame.org>**20050716143547]
[Fix typo
Florian Weimer <fw at deneb.enyo.de>**20050510113824]
[fix error in name of --reorder-patches flag.
David Roundy <droundy at abridgegame.org>**20050722110752]
[Push and pull can now show the detailed diffs of patches
Jim Radford <radford at blackbean.org>**20050717042645
The same distinction is now made between --summary and --verbose
as changes makes.
]
[advance DARCS_VERSION to 1.0.4pre2.
David Roundy <droundy at abridgegame.org>**20050720115536
In the new tradit