darcs-scripts: Shell scripts for support of darcs workflow
This is a collection of Bash shell scripts
for support of development using the revision control system Darcs.
The scripts are installed in your cabal/share
directory,
thus you may extend your command search path accordingly.
Within a Darcs working copy you may run:
editor `darcs-list-modified`
: Open an editor with all files that are modified with respect to the current local repository state.darcs-replace-rec OLD NEW dirOrFileA dirOrFileB
: ReplaceOLD
byNEW
in all files indirOrFileA
and so on, that containOLD
. This callsdarcs replace
, that is, the replacements are managed by Darcs as such.darcs-mv-hs src/Data/Special.hs src/Control/Extra.hs
: Move the filesrc/Data/Special.hs
tosrc/Control/Extra.hs
and replace the according module nameData.Special
byControl.Extra
in all modules in directorysrc
and in the cabal file. The first component must be a directory for source files. If you do not have a source directory, you may use.
, but then files in_darcs
are also addressed, and Darcs will warn you. Nested source directories are not supported.darcs-conv-latin-to-utf8 dirOrFile ...
: Convert all files from Latin encoding to UTF8 encoding. You may easily adapt the script in order to convert between other encodings. Instead of using non-ASCII encodings you may replace non-ASCII symbols by Haskell string escape codes.darcs-replace-finitemap
: Convert old programs from use ofFiniteMap
tocontainers:Data.Map
.darcs-mv-m3
anddarcs-mv-mg
are for Modula-3 development. They rename both interface and implementation file of a module and replace module names accordingly.
Downloads
- darcs-scripts-0.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1, 0.1.1 |
---|---|
Dependencies | base (>=1 && <10) [details] |
License | BSD-3-Clause |
Author | Henning Thielemann <darcs@henning-thielemann.de> |
Maintainer | darcs@henning-thielemann.de |
Revised | Revision 1 made by HenningThielemann at 2015-04-08T13:55:02Z |
Category | Development |
Source repo | this: darcs get http://code.haskell.org/~thielema/darcs-scripts/ --tag 0.1 head: darcs get http://code.haskell.org/~thielema/darcs-scripts/ |
Uploaded | by HenningThielemann at 2012-02-10T11:15:36Z |
Distributions | NixOS:0.1.1 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 2202 total (2 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] Last success reported on 2016-12-10 [all 8 reports] |