From patchwork Fri Nov 29 02:41:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2,of,2,default] added regression test for issue 3857 From: "Sandeep.C.R" X-Patchwork-Id: 3190 Message-Id: To: mercurial-devel@selenic.com Cc: sandeepcr2@gmail.com Date: Fri, 29 Nov 2013 08:11:43 +0530 # HG changeset patch # User Sandeep.C.R # Date 1385643827 -19800 # Node ID f5a836625f880a40fcf95ae37086f45bdf45b530 # Parent be674fae4c5200453f9ce5139333239caf70968e added regression test for issue 3857 diff -r be674fae4c52 -r f5a836625f88 tests/test-record.t --- a/tests/test-record.t Wed Nov 27 20:56:48 2013 +0530 +++ b/tests/test-record.t Thu Nov 28 18:33:47 2013 +0530 @@ -1277,5 +1277,20 @@ c +d - +Take username from -u option + + $ unset HGUSER + $ unset EMAIL + $ touch canrecordwithoutusername + $ echo dummycontent > canrecordwithoutusername + $ hg add canrecordwithoutusername + $ hg record -m message -u recordinguser < Y + > Y + > EOF + diff --git a/canrecordwithoutusername b/canrecordwithoutusername + new file mode 100644 + examine changes to 'canrecordwithoutusername'? [Ynesfdaq?] + $ EMAIL="Foo Bar " + $ export EMAIL $ cd ..