tests/test-copies-in-changeset.t
branchstable
changeset 49066 65eda809b943
parent 48976 877d7e1a4223
child 49067 770e1352e9f9
equal deleted inserted replaced
49060:532b649c1deb 49066:65eda809b943
   323   a -> l
   323   a -> l
   324   $ hg ci --amend -m 'new description'
   324   $ hg ci --amend -m 'new description'
   325   saved backup bundle to $TESTTMP/repo/.hg/strip-backup/*-*-amend.hg (glob)
   325   saved backup bundle to $TESTTMP/repo/.hg/strip-backup/*-*-amend.hg (glob)
   326   $ hg showcopies
   326   $ hg showcopies
   327   a -> l
   327   a -> l
       
   328 
       
   329 No crash on partial amend
       
   330   $ hg st --change .
       
   331   A l
       
   332   $ echo modified >> a
       
   333   $ hg rm l
       
   334   $ hg commit --amend a 2>&1 | grep AttributeError
       
   335   AttributeError: 'NoneType' object has no attribute 'renamed' (known-bad-output !)
       
   336 
   328   $ cd ..
   337   $ cd ..
   329 
   338 
   330 Test rebasing a commit with copy information
   339 Test rebasing a commit with copy information
   331 
   340 
   332   $ hg init rebase-rename
   341   $ hg init rebase-rename