[darcs-users] darcs patch: Do no word splitting after expansion in pwd-based shel...
David Roundy
droundy at darcs.net
Mon Sep 8 18:05:54 UTC 2008
On Mon, Sep 08, 2008 at 05:54:27PM +0000, E.Y.Kow at brighton.ac.uk wrote:
> Another fast-trackee
> Mon Sep 8 18:49:48 BST 2008 Eric Kow <E.Y.Kow at brighton.ac.uk>
> * Do no word splitting after expansion in pwd-based shell tests.
> Lest darcs/Cygwin be confused by spaces in the pwd output.
> [Do no word splitting after expansion in pwd-based shell tests.
> Eric Kow <E.Y.Kow at brighton.ac.uk>**20080908174948
> Lest darcs/Cygwin be confused by spaces in the pwd output.
> ] hunk ./tests/mv-formerly-pl.sh 133
>
> touch abs_path.t
> darcs add abs_path.t
> +IFS=""
> REPO_ABS=`portable_pwd`
> darcs mv "$REPO_ABS/abs_path.t" abs_path_new.t
> darcs mv abs_path_new.t "$REPO_ABS/abs_path.t"
> hunk ./tests/pull.sh 72
> not grep temp1 _darcs/prefs/defaultrepo
>
> #return special message when you try to pull from yourself
> +IFS=""
> DIR=`portable_pwd`
> not darcs pull --debug -a "$DIR" 2> out
> cat out
Where is the word splitting happening?
David
More information about the darcs-users
mailing list