comparison tests/test-obsolete.t @ 17297:6955d69a52a4 stable

obsolete: warns if markers exist in a repo where the feature is not enabled We don't simply abort to allow the user to run other diagnostic commands.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Sat, 28 Jul 2012 13:05:25 +0200
parents a1f8869f2eee
children 7d2967de2c04
comparison
equal deleted inserted replaced
17296:a1f8869f2eee 17297:6955d69a52a4
490 searching for changes 490 searching for changes
491 adding changesets 491 adding changesets
492 adding manifests 492 adding manifests
493 adding file changes 493 adding file changes
494 added 1 changesets with 1 changes to 1 files (+1 heads) 494 added 1 changesets with 1 changes to 1 files (+1 heads)
495
496 Checking _enable=False warning if obsolete marker exist
497
498 $ echo '[extensions]' >> $HGRCPATH
499 $ echo "obs=!" >> $HGRCPATH
500 $ hg log -r tip
501 obsolete feature not enabled but 7 markers found!
502 changeset: 6:d6a026544050
503 tag: tip
504 parent: 3:5601fb93a350
505 user: test
506 date: Thu Jan 01 00:00:00 1970 +0000
507 summary: add obsolete_e
508