tests/test-amend-patch.t
changeset 3877 96bbea985b25
parent 3876 c464abfd7f9d
child 3936 537fd9a86c06
child 5123 900668a93629
child 5236 6c0797ec50b6
equal deleted inserted replaced
3876:c464abfd7f9d 3877:96bbea985b25
  1165   > cat > \$1 <<ENDOF
  1165   > cat > \$1 <<ENDOF
  1166   > ENDOF
  1166   > ENDOF
  1167   > EOF
  1167   > EOF
  1168 
  1168 
  1169   $ HGEDITOR="sh ./editor.sh" hg amend --patch
  1169   $ HGEDITOR="sh ./editor.sh" hg amend --patch
       
  1170   abort: empty patch file, amend aborted
       
  1171   [255]
  1170 
  1172 
  1171   $ hg exp
  1173   $ hg exp
  1172   # HG changeset patch
  1174   # HG changeset patch
  1173   # User RandomUser
  1175   # User RandomUser
  1174   # Date 123456 1200
  1176   # Date 123456 1200
  1175   #      Fri Jan 02 09:57:36 1970 -0020
  1177   #      Fri Jan 02 09:57:36 1970 -0020
  1176   # Branch stable
  1178   # Branch stable
  1177   # Node ID 958c723d2247bedf32c155b7976e79b82332c02e
  1179   # Node ID f14ecd7121e63915ac93edbad7f60f605e62dd52
  1178   # Parent  0000000000000000000000000000000000000000
  1180   # Parent  fc57c20be380f2878f4db139dad66d6cfb42ec62
  1179   
  1181   I am a message which is testing change of message
  1180   
  1182   
       
  1183   diff --git a/a b/a
       
  1184   new file mode 100755
       
  1185   --- /dev/null
       
  1186   +++ b/a
       
  1187   @@ -0,0 +1,3 @@
       
  1188   +Gello
       
  1189   +Kello
       
  1190   +betto
  1181 
  1191 
  1182   $ hg parents
  1192   $ hg parents
  1183   changeset:   19:958c723d2247
  1193   changeset:   18:f14ecd7121e6
  1184   branch:      stable
  1194   branch:      stable
  1185   bookmark:    foo
  1195   bookmark:    foo
  1186   tag:         tip
  1196   tag:         tip
  1187   parent:      -1:000000000000
  1197   parent:      3:fc57c20be380
  1188   user:        RandomUser
  1198   user:        RandomUser
  1189   date:        Fri Jan 02 09:57:36 1970 -0020
  1199   date:        Fri Jan 02 09:57:36 1970 -0020
  1190   
  1200   summary:     I am a message which is testing change of message
       
  1201