D1650: tests: add commit hashes to log commands in rebase tests

phillco (Phil Cohen) phabricator at mercurial-scm.org
Mon Dec 11 05:57:46 UTC 2017


phillco created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Commit hashes are a useful way to ensure the content of commits made in the
  tests are not changing, even if we don't query every aspect of every commit.
  (And some properties, like extras, are rarely printed at all.)
  
  Many of the rebase log -G calls didn't show hashes; by adding hashes to places
  that weren't showing them we can help protect those tests from unwanted
  changes.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1650

AFFECTED FILES
  tests/test-mq-header-date.t
  tests/test-mq-header-from.t
  tests/test-mq-pull-from-bundle.t
  tests/test-rebase-base-flag.t
  tests/test-rebase-bookmarks.t
  tests/test-rebase-collapse.t
  tests/test-rebase-dest.t
  tests/test-rebase-detach.t
  tests/test-rebase-interruptions.t
  tests/test-rebase-issue-noparam-single-rev.t
  tests/test-rebase-mq-skip.t
  tests/test-rebase-mq.t
  tests/test-rebase-named-branches.t
  tests/test-rebase-newancestor.t
  tests/test-rebase-parameters.t
  tests/test-rebase-partial.t
  tests/test-rebase-pull.t
  tests/test-rebase-rename.t
  tests/test-rebase-scenario-global.t

To: phillco, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list