tests/test-journal.t
changeset 50808 e9a2e1c77f28
parent 50807 8ef9cdffad6a
child 51988 df887ca0d891
equal deleted inserted replaced
50807:8ef9cdffad6a 50808:e9a2e1c77f28
    89   $ hg book -r . babar
    89   $ hg book -r . babar
    90   $ hg book -f -r .~1 babar
    90   $ hg book -f -r .~1 babar
    91   $ hg book -d babar
    91   $ hg book -d babar
    92   $ hg journal babar
    92   $ hg journal babar
    93   previous locations of 'babar':
    93   previous locations of 'babar':
       
    94   000000000000  book -d babar
    94   cb9a9f314b8b  book -f -r '.~1' babar
    95   cb9a9f314b8b  book -f -r '.~1' babar
    95   1e6c11564562  book -r . babar
    96   1e6c11564562  book -r . babar
    96 
    97 
    97 Test that bookmarks and working copy tracking is not mixed
    98 Test that bookmarks and working copy tracking is not mixed
    98 
    99 
   107 
   108 
   108   $ hg book -r tip baz
   109   $ hg book -r tip baz
   109   $ hg journal --all
   110   $ hg journal --all
   110   previous locations of the working copy and bookmarks:
   111   previous locations of the working copy and bookmarks:
   111   1e6c11564562  baz       book -r tip baz
   112   1e6c11564562  baz       book -r tip baz
       
   113   000000000000  babar     book -d babar
   112   cb9a9f314b8b  babar     book -f -r '.~1' babar
   114   cb9a9f314b8b  babar     book -f -r '.~1' babar
   113   1e6c11564562  babar     book -r . babar
   115   1e6c11564562  babar     book -r . babar
   114   1e6c11564562  bar       up
   116   1e6c11564562  bar       up
   115   1e6c11564562  .         up
   117   1e6c11564562  .         up
   116   cb9a9f314b8b  bar       book -f bar
   118   cb9a9f314b8b  bar       book -f bar
   137   1e6c11564562  commit -Aqm b
   139   1e6c11564562  commit -Aqm b
   138   cb9a9f314b8b  commit -Aqm a
   140   cb9a9f314b8b  commit -Aqm a
   139   $ hg journal "re:ba."
   141   $ hg journal "re:ba."
   140   previous locations of 're:ba.':
   142   previous locations of 're:ba.':
   141   1e6c11564562  baz       book -r tip baz
   143   1e6c11564562  baz       book -r tip baz
       
   144   000000000000  babar     book -d babar
   142   cb9a9f314b8b  babar     book -f -r '.~1' babar
   145   cb9a9f314b8b  babar     book -f -r '.~1' babar
   143   1e6c11564562  babar     book -r . babar
   146   1e6c11564562  babar     book -r . babar
   144   1e6c11564562  bar       up
   147   1e6c11564562  bar       up
   145   cb9a9f314b8b  bar       book -f bar
   148   cb9a9f314b8b  bar       book -f bar
   146   1e6c11564562  bar       book -r tip bar
   149   1e6c11564562  bar       book -r tip bar
   148 Test that verbose, JSON, template and commit output work
   151 Test that verbose, JSON, template and commit output work
   149 
   152 
   150   $ hg journal --verbose --all
   153   $ hg journal --verbose --all
   151   previous locations of the working copy and bookmarks:
   154   previous locations of the working copy and bookmarks:
   152   000000000000 -> 1e6c11564562 foobar    baz      1970-01-01 00:00 +0000  book -r tip baz
   155   000000000000 -> 1e6c11564562 foobar    baz      1970-01-01 00:00 +0000  book -r tip baz
       
   156   cb9a9f314b8b -> 000000000000 foobar    babar    1970-01-01 00:00 +0000  book -d babar
   153   1e6c11564562 -> cb9a9f314b8b foobar    babar    1970-01-01 00:00 +0000  book -f -r '.~1' babar
   157   1e6c11564562 -> cb9a9f314b8b foobar    babar    1970-01-01 00:00 +0000  book -f -r '.~1' babar
   154   000000000000 -> 1e6c11564562 foobar    babar    1970-01-01 00:00 +0000  book -r . babar
   158   000000000000 -> 1e6c11564562 foobar    babar    1970-01-01 00:00 +0000  book -r . babar
   155   cb9a9f314b8b -> 1e6c11564562 foobar    bar      1970-01-01 00:00 +0000  up
   159   cb9a9f314b8b -> 1e6c11564562 foobar    bar      1970-01-01 00:00 +0000  up
   156   cb9a9f314b8b -> 1e6c11564562 foobar    .        1970-01-01 00:00 +0000  up
   160   cb9a9f314b8b -> 1e6c11564562 foobar    .        1970-01-01 00:00 +0000  up
   157   1e6c11564562 -> cb9a9f314b8b foobar    bar      1970-01-01 00:00 +0000  book -f bar
   161   1e6c11564562 -> cb9a9f314b8b foobar    bar      1970-01-01 00:00 +0000  book -f bar