tests/test-log.t
changeset 24602 201caa10536b
parent 24585 e191d5d8d515
child 24603 e74f819e9160
equal deleted inserted replaced
24601:d80819f67d59 24602:201caa10536b
  1640   parent:      -1:0000000000000000000000000000000000000000
  1640   parent:      -1:0000000000000000000000000000000000000000
  1641   user:        test
  1641   user:        test
  1642   date:        [A-Za-z0-9:+ ]+ (re)
  1642   date:        [A-Za-z0-9:+ ]+ (re)
  1643   extra:       branch=default
  1643   extra:       branch=default
  1644   
  1644   
       
  1645   $ hg log -r 'wdir()' -Tjson
       
  1646   [
       
  1647    {
       
  1648     "rev": null,
       
  1649     "node": null,
       
  1650     "branch": "default",
       
  1651     "phase": "draft",
       
  1652     "user": "test",
       
  1653     "date": [*, 0], (glob)
       
  1654     "desc": "",
       
  1655     "bookmarks": [],
       
  1656     "tags": ["tip"],
       
  1657     "parents": ["65624cd9070a035fa7191a54f2b8af39f16b0c08"]
       
  1658    }
       
  1659   ]
       
  1660 
       
  1661   $ hg log -r 'wdir()' -Tjson -q
       
  1662   [
       
  1663    {
       
  1664     "rev": null,
       
  1665     "node": null
       
  1666    }
       
  1667   ]
       
  1668 
  1645 Check that adding an arbitrary name shows up in log automatically
  1669 Check that adding an arbitrary name shows up in log automatically
  1646 
  1670 
  1647   $ cat > ../names.py <<EOF
  1671   $ cat > ../names.py <<EOF
  1648   > """A small extension to test adding arbitrary names to a repo"""
  1672   > """A small extension to test adding arbitrary names to a repo"""
  1649   > from mercurial.namespaces import namespace
  1673   > from mercurial.namespaces import namespace