darcs-scripts 0.1 → 0.1.1
raw patch · 2 files changed
+16/−4 lines, 2 files
Files
- darcs-replace-rec +6/−1
- darcs-scripts.cabal +10/−3
darcs-replace-rec view
@@ -1,3 +1,8 @@ # replace identifiers in the modules where they occur # files are searched recursively in up to 7 directories-grep -rl --fixed-strings $1 $3 $4 $5 $6 $7 $8 $9 | xargs darcs replace $1 $2+#+# How to handle token-chars option?+export src="$1"+export dst="$2"+shift 2+fgrep -rl $src $* | xargs darcs replace $src $dst
darcs-scripts.cabal view
@@ -1,5 +1,5 @@ Name: darcs-scripts-Version: 0.1+Version: 0.1.1 License: BSD3 License-File: LICENSE Author: Henning Thielemann <darcs@henning-thielemann.de>@@ -16,7 +16,7 @@ . Within a Darcs working copy you may run: .- * @editor `darcs-list-modified`@:+ * @editor \`darcs-list-modified\`@: Open an editor with all files that are modified with respect to the current local repository state. .@@ -37,6 +37,13 @@ and Darcs will warn you. Nested source directories are not supported. .+ * @darcs-hub-put pkgname@:+ Create new darcs repository at hub.darcs.net+ with the Cabal Synopsis as repository summary.+ The push patches to the newly created repository.+ @pkgname@ is the name of the remote repository.+ A common way to run the script is @darcs-hub-put \`basename $PWD\`@.+ . * @darcs-conv-latin-to-utf8 dirOrFile ...@: Convert all files from Latin encoding to UTF8 encoding. You may easily adapt the script in order@@ -61,7 +68,7 @@ darcs-replace-rec Source-Repository this- Tag: 0.1+ Tag: 0.1.1 Type: darcs Location: http://code.haskell.org/~thielema/darcs-scripts/