Sun Dec 18 10:56:52 CET 2005 Eric Kow <[EMAIL PROTECTED]>
* correction for send.sh test
previously failed on (at least) MacOS X 10.3.9
Sun Dec 18 11:00:23 CET 2005 Eric Kow <[EMAIL PROTECTED]>
* replaces stray putStrLn with putVerbose in darcs get
--set-scripts-executable
Sun Dec 18 11:06:09 CET 2005 Eric Kow <[EMAIL PROTECTED]>
* support for absolute file names in arguments
fix for issue 39
Converts absolute paths into ones relative to the current working directory,
but only if they begin with the absolute path of the repository.
New patches:
[correction for send.sh test
Eric Kow <[EMAIL PROTECTED]>**20051218095652
previously failed on (at least) MacOS X 10.3.9
] {
hunk ./tests/send.sh 31
-$DARCS send --author=me -a --subject="it works" "--sendmail-command=cat %<" ../temp2 | grep -x "Subject: it works"
+$DARCS send --author=me -a --subject="it works" --sendmail-command='grep -x "Subject: it works" %<' ../temp2
}
[replaces stray putStrLn with putVerbose in darcs get --set-scripts-executable
Eric Kow <[EMAIL PROTECTED]>**20051218100023] {
hunk ./Get.lhs 156
- putStrLn ("making executable: " ++ f)
+ putVerbose $ text (" " ++ f)
}
[support for absolute file names in arguments
Eric Kow <[EMAIL PROTECTED]>**20051218100609
fix for issue 39
Converts absolute paths into ones relative to the current working directory,
but only if they begin with the absolute path of the repository.
] {
hunk ./DarcsCommands.lhs 32
+import System.Directory ( canonicalizePath )
hunk ./DarcsCommands.lhs 34
-import List ( sort )
+import List ( isPrefixOf, sort )
hunk ./DarcsCommands.lhs 310
- runWithPostHook os ex =
+ runWithPostHook os rawEx =
hunk ./DarcsCommands.lhs 312
+ -- convert absolute paths in ex to be relative to fix_path
+ canonicalEx <- mapM canonicalizePath rawEx
+ let numSegments =
+ if null fix_path then 0 else 1 + (length $ filter (== '/') fix_path)
+ inverse_fix_path = concat $ take numSegments $ repeat "../"
+ hereSlash = here ++ "/"
+ toRelative c e =
+ if "/" `isPrefixOf` e && hereSlash `isPrefixOf` c
+ then inverse_fix_path ++ drop (length hereSlash) c
+ else e
+ ex = zipWith toRelative canonicalEx rawEx
+ -- run the command
}
Context:
[properly quote paths so that paths with spaces in them are okay
[EMAIL PROTECTED]
[fix up debug printouts in cygwin-wrapper.bash
[EMAIL PROTECTED]
[smoother invocation of cygwin-wrapper.bash -- it detects fully-qualified path to itself by leading /
[EMAIL PROTECTED]
[modernize amend-record.pl to be more portable.
Mark Stosberg <[EMAIL PROTECTED]>**20050402133417
This depends on the new "echo_to_darcs()" function in Test::Darcs
]
[implementation of --set-scripts-executable on local darcs get
[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
added check for local darcs get (issue 38) as well as initial sanity check
]
[Fix merge conflicts.
Juliusz Chroboczek <[EMAIL PROTECTED]>**20051214223217]
[Add --subject flag to 'darcs send'
Joeri van Ruth <[EMAIL PROTECTED]>**20051205120301]
[print out the patch name when a test fails.
Zachary P. Landau <[EMAIL PROTECTED]>**20051205055109]
[revert maybe_relink and atomic_create to original C code.
David Roundy <[EMAIL PROTECTED]>**20051208131213]
[resolve conflicts between stable and unstable.
David Roundy <[EMAIL PROTECTED]>**20051206134818]
[Merge changes
Ian Lynagh <[EMAIL PROTECTED]>**20051008225210]
[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]
[Start Compat.hs, and move stdout_is_a_pipe from compat.c
Ian Lynagh <[EMAIL PROTECTED]>**20050730004829]
[Fix mistyped /dev/null, fixes --sendmail-command in Windows
Esa Ilari Vuokko <[EMAIL PROTECTED]>**20051129160120]
[Use \ as path separator for GnuPG in Windows -- makes apply --verify work
Esa Ilari Vuokko <[EMAIL PROTECTED]>**20051129164533]
[make dangers and recommended use of "Amend" clearer in the docs.
Mark Stosberg <[EMAIL PROTECTED]>**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 <[EMAIL PROTECTED]>**20051213111137]
[fix handling of absolute paths containing drive letters
Will <[EMAIL PROTECTED]>**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 <[EMAIL PROTECTED]>**20051208092839]
[TAG 1.0.5
Tommy Pettersson <[EMAIL PROTECTED]>**20051207112730]
Patch bundle hash:
830ffaa716d733ae3ae742f3b02cbfb9948d2845
_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel