Submitter | Pierre-Yves David |
---|---|
Date | June 1, 2015, 4:48 a.m. |
Message ID | <52569d4c494e4e1b57a3.1433134119@marginatus.alto.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/9419/ |
State | Accepted |
Headers | show |
Comments
On Sun, May 31, 2015 at 09:48:39PM -0700, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David <pierre-yves.david@fb.com> > # Date 1432937929 25200 > # Fri May 29 15:18:49 2015 -0700 > # Node ID 52569d4c494e4e1b57a3fa1873a3a9f133bce8a7 > # Parent baff9cfaeb47fd27655ee41ba32886315d50995b > test: use bundle2 in test-pull-http These are queued, thanks. > > This test have a minor output change when using bundle2. We get this change > early to reduce the noise in the final change. > > diff --git a/tests/test-pull-http.t b/tests/test-pull-http.t > --- a/tests/test-pull-http.t > +++ b/tests/test-pull-http.t > @@ -1,7 +1,14 @@ > #require killdaemons > > + $ cat << EOF >> $HGRCPATH > + > [experimental] > + > # drop me once bundle2 is the default, > + > # added to get test change early. > + > bundle2-exp = True > + > EOF > + > $ hg init test > $ cd test > $ echo a > a > $ hg ci -Ama > adding a > @@ -71,9 +78,10 @@ serve errors > > expect error, pulling not allowed > > $ req > pulling from http://localhost:$HGPORT/ > + searching for changes > abort: authorization failed > % serve errors > > $ cd .. > _______________________________________________ > Mercurial-devel mailing list > Mercurial-devel@selenic.com > https://selenic.com/mailman/listinfo/mercurial-devel
Patch
diff --git a/tests/test-pull-http.t b/tests/test-pull-http.t --- a/tests/test-pull-http.t +++ b/tests/test-pull-http.t @@ -1,7 +1,14 @@ #require killdaemons + $ cat << EOF >> $HGRCPATH + > [experimental] + > # drop me once bundle2 is the default, + > # added to get test change early. + > bundle2-exp = True + > EOF + $ hg init test $ cd test $ echo a > a $ hg ci -Ama adding a @@ -71,9 +78,10 @@ serve errors expect error, pulling not allowed $ req pulling from http://localhost:$HGPORT/ + searching for changes abort: authorization failed % serve errors $ cd ..