##// END OF EJS Templates
tests: demonstrate crash on partial amend with copies in changesets...
Martin von Zweigbergk -
r49956:65eda809 stable
parent child Browse files
Show More
@@ -325,6 +325,15 b' Existing copy information is preserved b'
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
General Comments 0
You need to be logged in to leave comments. Login now