[PATCH 2 of 3] amend: explicitly test -d option

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Jun 5 21:07:06 CDT 2014



On 06/05/2014 06:33 PM, Greg Ward wrote:
> # HG changeset patch
> # User Greg Ward <greg at gerg.ca>
> # Date 1402018048 14400
> #      Thu Jun 05 21:27:28 2014 -0400
> # Node ID a3332548e7fb4c18815ecaf1b608f320b6f6d1f2
> # Parent  b3c700f75ac23420373129501bef302a3b687fcb
> amend: explicitly test -d option

thsoe two are pushed to bitbucket

(queued)

>
> diff --git a/tests/test-amend.t b/tests/test-amend.t
> --- a/tests/test-amend.t
> +++ b/tests/test-amend.t
> @@ -78,4 +78,8 @@
>     |
>     o  2 at foo(draft) adda
>
> +Specify precise commit date with -d
> +  $ hg amend -d '2001-02-03 04:05:06 +0700'
> +  $ hg parents --template '{rev}  {date|date}\n'
> +  5  Sat Feb 03 04:05:06 2001 +0700
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list