tests/test-absorb.t
changeset 39188 3fa9058f4f79
parent 38961 19344143b3e1
child 39453 ab452995eaff
equal deleted inserted replaced
39187:2f89a7defe62 39188:3fa9058f4f79
   323   > git=True
   323   > git=True
   324   > EOF
   324   > EOF
   325   $ cd ..
   325   $ cd ..
   326   $ hg init repo3
   326   $ hg init repo3
   327   $ cd repo3
   327   $ cd repo3
       
   328 
       
   329 #if execbit
   328   $ echo > foo.py
   330   $ echo > foo.py
   329   $ chmod +x foo.py
   331   $ chmod +x foo.py
   330   $ hg add foo.py
   332   $ hg add foo.py
   331   $ hg commit -mfoo
   333   $ hg commit -mfoo
       
   334 #else
       
   335   $ hg import -q --bypass - <<EOF
       
   336   > # HG changeset patch
       
   337   > foo
       
   338   > 
       
   339   > diff --git a/foo.py b/foo.py
       
   340   > new file mode 100755
       
   341   > --- /dev/null
       
   342   > +++ b/foo.py
       
   343   > @@ -0,0 +1,1 @@
       
   344   > +
       
   345   > EOF
       
   346   $ hg up -q
       
   347 #endif
   332 
   348 
   333   $ echo bla > foo.py
   349   $ echo bla > foo.py
   334   $ hg absorb --dry-run --print-changes
   350   $ hg absorb --dry-run --print-changes
   335   showing changes for foo.py
   351   showing changes for foo.py
   336           @@ -0,1 +0,1 @@
   352           @@ -0,1 +0,1 @@