Mercurial > hg-stable
changeset 15384:bf55991af17e stable
largefiles: shorten test suite by using log --template
author | Na'Tosha Bard <natosha@unity3d.com> |
---|---|
date | Fri, 28 Oct 2011 18:50:54 +0200 |
parents | 155d0f8fb7e5 |
children | 4439ec496378 |
files | tests/test-largefiles.t |
diffstat | 1 files changed, 36 insertions(+), 168 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-largefiles.t Fri Oct 28 18:48:24 2011 +0200 +++ b/tests/test-largefiles.t Fri Oct 28 18:50:54 2011 +0200 @@ -259,48 +259,15 @@ getting changed largefiles 3 largefiles updated, 0 removed $ cd b - $ hg log - changeset: 7:daea875e9014 - tag: tip - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: add/edit more largefiles - - changeset: 6:4355d653f84f - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: edit files yet again - - changeset: 5:9d5af5072dbd - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: edit files again - - changeset: 4:74c02385b94c - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: move files - - changeset: 3:9e8fbc4bce62 - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: copy files - - changeset: 2:51a0ae4d5864 - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: remove files - - changeset: 1:ce8896473775 - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: edit files - - changeset: 0:30d30fe6a5be - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: add files - + $ hg log --template '{rev}:{node|short} {desc|firstline}\n' + 7:daea875e9014 add/edit more largefiles + 6:4355d653f84f edit files yet again + 5:9d5af5072dbd edit files again + 4:74c02385b94c move files + 3:9e8fbc4bce62 copy files + 2:51a0ae4d5864 remove files + 1:ce8896473775 edit files + 0:30d30fe6a5be add files $ cat normal3 normal33 $ cat sub/normal4 @@ -322,28 +289,11 @@ getting changed largefiles 2 largefiles updated, 0 removed $ cd c - $ hg log - changeset: 3:9e8fbc4bce62 - tag: tip - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: copy files - - changeset: 2:51a0ae4d5864 - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: remove files - - changeset: 1:ce8896473775 - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: edit files - - changeset: 0:30d30fe6a5be - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: add files - + $ hg log --template '{rev}:{node|short} {desc|firstline}\n' + 3:9e8fbc4bce62 copy files + 2:51a0ae4d5864 remove files + 1:ce8896473775 edit files + 0:30d30fe6a5be add files $ cat normal1 normal22 $ cat large1 @@ -400,58 +350,17 @@ 1 largefiles updated, 0 removed saved backup bundle to $TESTTMP/d/.hg/strip-backup/f574fb32bb45-backup.hg nothing to rebase - $ hg log - changeset: 9:598410d3eb9a - tag: tip - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: modify normal file largefile in repo d - - changeset: 8:a381d2c8c80e - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: modify normal file and largefile in repo b - - changeset: 7:daea875e9014 - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: add/edit more largefiles - - changeset: 6:4355d653f84f - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: edit files yet again - - changeset: 5:9d5af5072dbd - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: edit files again - - changeset: 4:74c02385b94c - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: move files - - changeset: 3:9e8fbc4bce62 - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: copy files - - changeset: 2:51a0ae4d5864 - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: remove files - - changeset: 1:ce8896473775 - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: edit files - - changeset: 0:30d30fe6a5be - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: add files - + $ hg log --template '{rev}:{node|short} {desc|firstline}\n' + 9:598410d3eb9a modify normal file largefile in repo d + 8:a381d2c8c80e modify normal file and largefile in repo b + 7:daea875e9014 add/edit more largefiles + 6:4355d653f84f edit files yet again + 5:9d5af5072dbd edit files again + 4:74c02385b94c move files + 3:9e8fbc4bce62 copy files + 2:51a0ae4d5864 remove files + 1:ce8896473775 edit files + 0:30d30fe6a5be add files $ cat normal3 normal3-modified $ cat sub/normal4 @@ -764,58 +673,17 @@ added 1 changesets with 2 changes to 2 files getting changed largefiles 1 largefiles updated, 0 removed - $ hg log - changeset: 9:598410d3eb9a - tag: tip - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: modify normal file largefile in repo d - - changeset: 8:a381d2c8c80e - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: modify normal file and largefile in repo b - - changeset: 7:daea875e9014 - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: add/edit more largefiles - - changeset: 6:4355d653f84f - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: edit files yet again - - changeset: 5:9d5af5072dbd - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: edit files again - - changeset: 4:74c02385b94c - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: move files - - changeset: 3:9e8fbc4bce62 - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: copy files - - changeset: 2:51a0ae4d5864 - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: remove files - - changeset: 1:ce8896473775 - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: edit files - - changeset: 0:30d30fe6a5be - user: test - date: Thu Jan 01 00:00:00 1970 +0000 - summary: add files - + $ hg log --template '{rev}:{node|short} {desc|firstline}\n' + 9:598410d3eb9a modify normal file largefile in repo d + 8:a381d2c8c80e modify normal file and largefile in repo b + 7:daea875e9014 add/edit more largefiles + 6:4355d653f84f edit files yet again + 5:9d5af5072dbd edit files again + 4:74c02385b94c move files + 3:9e8fbc4bce62 copy files + 2:51a0ae4d5864 remove files + 1:ce8896473775 edit files + 0:30d30fe6a5be add files $ cat normal3 normal3-modified $ cat sub/normal4