tests/test-basic.t
author Mads Kiilerich <mads@kiilerich.com>
Tue, 01 Mar 2011 02:54:16 +0100
branchstable
changeset 13510 d0be955f358c
parent 12156 4c94b6d0fb1c
child 13568 0b79cf616e65
permissions -rw-r--r--
tests: test-mq-subrepo.t Solaris 10 sh compliance Solaris 10 sh do apparently not like temporary environment variable assignment before a function call. There is no problem with commands.

Create a repository:

  $ mkdir t
  $ cd t
  $ hg init

Make a changeset:

  $ echo a > a
  $ hg add a
  $ hg commit -m test

This command is ancient:

  $ hg history
  changeset:   0:acb14030fe0a
  tag:         tip
  user:        test
  date:        Thu Jan 01 00:00:00 1970 +0000
  summary:     test
  

Poke around at hashes:

  $ hg manifest --debug
  b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 644   a

  $ hg cat a
  a

Verify should succeed:

  $ hg verify
  checking changesets
  checking manifests
  crosschecking files in changesets and manifests
  checking files
  1 files, 1 changesets, 1 total revisions

At the end...