Sat Jul 23 09:47:58 EDT 2005 David Roundy <[EMAIL PROTECTED]>
* make add/remove --list-options not output preceding ./
We were treating the repository root differently from subdirectories
because the file paths didn't need to get "fixed". Addresses bug #158.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
New patches:
[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.
]
<
> {
hunk ./DarcsArguments.lhs 149
fix_filepath (_:fs) f = fix_filepath fs f
unfix_filepaths :: [DarcsFlag] -> [FilePath] -> [FilePath]
- -unfix_filepaths [] f = f
+unfix_filepaths [] f = map do_norm f
unfix_filepaths (FixFilePath fix:_) f = drop_paths fix f
unfix_filepaths (_:fs) f = unfix_filepaths fs f
hunk ./DarcsArguments.lhs 161
do_norm f = fn2fp $ norm_path $ fp2fn f
drop_paths :: String -> [String] -> [String]
- -drop_paths "" ps = ps
+drop_paths "" ps = map do_norm ps
drop_paths fix ps = catMaybes $ map drop_path ps
where drop_path ('.':'/':p) = drop_path $ dropWhile (=='/') p
drop_path p = if take (length fix) p == fix
}
Context:
[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]
[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]
[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]
[fix error in name of --reorder-patches flag.
David Roundy <[EMAIL PROTECTED]>**20050722110752]
[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.
]
[TAG 1.0.4pre1
David Roundy <[EMAIL PROTECTED]>**20050718112234]
Patch bundle hash:
79b68a483c58ece02278c03a9885cc2574056da6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFC4ktgQ6uZI9PVvOwRAssWAKCVmACztbhHuRsRn95BilYsQw+cZgCePG0x
rtLy3qkAVCvPd6SzPCrsSPY=
=MDD1
-----END PGP SIGNATURE-----
_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel