On Tue, 2007-07-31 at 17:34 -0700, Mike Kupfer wrote:
> Or do you mean something more like
>
> for f in $active_files; do
> if ! diff $codemgr_parent/$f $hg_ws/$f; then
> warn "$f is out of sync in $codemgr_parent and $hg_ws"
> fi
> done
The latter. (Nit: save the diff output somewhere other than stdout, and
use diff -u)
> My first reaction was to have the script do the revert automagically
> (once we know what the magic tag is), but that might be risky. Should I
> add a -r <rev> option to wx2hg, and change the script to revert to <rev>
> before applying the developer's changes?
I think that would be better than hard-coding the tag in the script.
- Bill