Mercurial > hg-stable
diff tests/test-blackbox.t @ 21030:9ea132aee96c
tags: log events related to tags cache
We now log when .hg/cache/tags data is built from scratch by reading
manifests and when the file is written.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 14 Apr 2014 11:50:05 -0700 |
parents | e54a078153f7 |
children | 05cfcecb3aef |
line wrap: on
line diff
--- a/tests/test-blackbox.t Mon Apr 14 15:14:02 2014 -0400 +++ b/tests/test-blackbox.t Mon Apr 14 11:50:05 2014 -0700 @@ -120,6 +120,18 @@ 1970/01/01 00:00:00 bob> saved backup bundle to $TESTTMP/blackboxtest2/.hg/strip-backup/*-backup.hg (glob) 1970/01/01 00:00:00 bob> strip tip exited 0 after * seconds (glob) +tags cache gets logged + $ hg up tip + 1 files updated, 0 files merged, 0 files removed, 0 files unresolved + $ hg tag -m 'create test tag' test-tag + $ hg tags + tip 3:5b5562c08298 + test-tag 2:d02f48003e62 + $ hg blackbox -l 3 + 1970/01/01 00:00:00 bob> resolved 1 tags cache entries from 1 manifests in ?.???? seconds (glob) + 1970/01/01 00:00:00 bob> writing tags cache file with 2 heads and 1 tags + 1970/01/01 00:00:00 bob> tags exited 0 after ?.?? seconds (glob) + extension and python hooks - use the eol extension for a pythonhook $ echo '[extensions]' >> .hg/hgrc @@ -128,7 +140,7 @@ $ echo 'update = echo hooked' >> .hg/hgrc $ hg update hooked - 1 files updated, 0 files merged, 0 files removed, 0 files unresolved + 0 files updated, 0 files merged, 0 files removed, 0 files unresolved $ hg blackbox -l 4 1970/01/01 00:00:00 bob> update 1970/01/01 00:00:00 bob> pythonhook-preupdate: hgext.eol.preupdate finished in * seconds (glob) @@ -144,7 +156,7 @@ $ hg status $ hg status $ hg tip -q - 2:d02f48003e62 + 3:5b5562c08298 $ ls .hg/blackbox.log* .hg/blackbox.log .hg/blackbox.log.1