tests/test-patchbomb.t
changeset 21055 dbff8c119cf6
parent 20117 aa9385f983fa
child 21282 697fba94dec9
equal deleted inserted replaced
21054:fffa9f17c3ef 21055:dbff8c119cf6
  1803   +++ b/b	Thu Jan 01 00:00:02 1970 +0000
  1803   +++ b/b	Thu Jan 01 00:00:02 1970 +0000
  1804   @@ -0,0 +1,1 @@
  1804   @@ -0,0 +1,1 @@
  1805   +b
  1805   +b
  1806   
  1806   
  1807 
  1807 
  1808 test single flag for single patch:
  1808 test single flag for single patch (and no warning when not mailing dirty rev):
       
  1809   $ hg up -qr1
       
  1810   $ echo dirt > a
  1809   $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \
  1811   $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \
  1810   >  -r 2
  1812   >  -r 2
  1811   this patch series consists of 1 patches.
  1813   this patch series consists of 1 patches.
  1812   
  1814   
  1813   
  1815   
  1837   +++ b/c	Thu Jan 01 00:00:03 1970 +0000
  1839   +++ b/c	Thu Jan 01 00:00:03 1970 +0000
  1838   @@ -0,0 +1,1 @@
  1840   @@ -0,0 +1,1 @@
  1839   +c
  1841   +c
  1840   
  1842   
  1841 
  1843 
  1842 test single flag for multiple patches:
  1844 test single flag for multiple patches (and warning when mailing dirty rev):
  1843   $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \
  1845   $ hg email --date '1970-1-1 0:1' -n --flag fooFlag -f quux -t foo -c bar -s test \
  1844   >  -r 0:1
  1846   >  -r 0:1
       
  1847   warning: working directory has uncommitted changes
  1845   this patch series consists of 2 patches.
  1848   this patch series consists of 2 patches.
  1846   
  1849   
  1847   
  1850   
  1848   Write the introductory message for the patch series.
  1851   Write the introductory message for the patch series.
  1849   
  1852   
  1917   --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
  1920   --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
  1918   +++ b/b	Thu Jan 01 00:00:02 1970 +0000
  1921   +++ b/b	Thu Jan 01 00:00:02 1970 +0000
  1919   @@ -0,0 +1,1 @@
  1922   @@ -0,0 +1,1 @@
  1920   +b
  1923   +b
  1921   
  1924   
       
  1925   $ hg revert --no-b a
       
  1926   $ hg up -q
  1922 
  1927 
  1923 test multiple flags for single patch:
  1928 test multiple flags for single patch:
  1924   $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \
  1929   $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \
  1925   >  -c bar -s test -r 2
  1930   >  -c bar -s test -r 2
  1926   this patch series consists of 1 patches.
  1931   this patch series consists of 1 patches.