[PATCH 5 of 5] chg: add procutil.h

Yuya Nishihara yuya at tcha.org
Wed Jan 4 08:39:17 EST 2017


On Mon, 2 Jan 2017 15:09:27 +0000, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1483369034 0
> #      Mon Jan 02 14:57:14 2017 +0000
> # Node ID 7a7681e4ab86597232eb147ebc1bcaa322a92067
> # Parent  73378fbef0fe54376ecfcb0009f0b7924d3a245b
> # Available At https://bitbucket.org/quark-zju/hg-draft
> #              hg pull https://bitbucket.org/quark-zju/hg-draft -r 7a7681e4ab86
> # Note  runshellcmd (in util.c) will be moved to procutil.c later.
> chg: add procutil.h

Nice module separation. Queued the series, thanks.

> --- a/contrib/chg/Makefile
> +++ b/contrib/chg/Makefile
> @@ -2,5 +2,5 @@ HG = $(CURDIR)/../../hg
>  
>  TARGET = chg
> -SRCS = chg.c hgclient.c util.c
> +SRCS = chg.c hgclient.c procutil.c util.c
>  OBJS = $(SRCS:.c=.o)
>  
> @@ -25,6 +25,7 @@ all: $(TARGET)
>  	$(CC) $(LDFLAGS) -o $@ $(OBJS)
>  
> -chg.o: hgclient.h util.h
> +chg.o: hgclient.h procutil.h util.h
>  hgclient.o: hgclient.h util.h
> +procutil.o: util.h

Fixed as "procutil.o: procutil.h util.h".


More information about the Mercurial-devel mailing list