tests/test-evolve-cycles.t
changeset 2957 586c9ace20b3
parent 2854 66796d7b5415
child 3000 bd7e8be29542
equal deleted inserted replaced
2956:bc9bc1778463 2957:586c9ace20b3
   292 Check the json output is valid in this case
   292 Check the json output is valid in this case
   293 
   293 
   294   $ hg obslog "desc(D)" --hidden --no-graph -Tjson | python -m json.tool
   294   $ hg obslog "desc(D)" --hidden --no-graph -Tjson | python -m json.tool
   295   [
   295   [
   296       {
   296       {
   297           "debugobshistory.markers": [
   297           "markers": [
   298               {
   298               {
   299                   "debugobshistory.effect": [
   299                   "date": [
   300                       "description",
   300                       *, (glob)
   301                       "parent",
   301                       0
   302                       "content"
   302                   ],
   303                   ],
   303                   "effect": [
   304                   "debugobshistory.marker_date": [
   304                       "description",
   305                       *, (glob)
   305                       "parent",
   306                       0
   306                       "content"
   307                   ],
   307                   ],
   308                   "debugobshistory.marker_user": "test",
   308                   "succnodes": [
   309                   "debugobshistory.succnodes": [
       
   310                       "0da815c333f6"
   309                       "0da815c333f6"
   311                   ],
   310                   ],
   312                   "debugobshistory.verb": "rewritten"
   311                   "user": "test",
   313               }
   312                   "verb": "rewritten"
   314           ],
   313               }
   315           "debugobshistory.node": "868d2e0eb19c",
   314           ],
   316           "debugobshistory.rev": 4,
   315           "node": "868d2e0eb19c",
   317           "debugobshistory.shortdescription": "D"
   316           "rev": 4,
       
   317           "shortdescription": "D"
   318       },
   318       },
   319       {
   319       {
   320           "debugobshistory.markers": [
   320           "markers": [
   321               {
   321               {
   322                   "debugobshistory.effect": [
   322                   "date": [
   323                       "description",
   323                       *, (glob)
   324                       "parent",
   324                       0
   325                       "content"
   325                   ],
   326                   ],
   326                   "effect": [
   327                   "debugobshistory.marker_date": [
   327                       "description",
   328                       *, (glob)
   328                       "parent",
   329                       0
   329                       "content"
   330                   ],
   330                   ],
   331                   "debugobshistory.marker_user": "test",
   331                   "succnodes": [
   332                   "debugobshistory.succnodes": [
       
   333                       "868d2e0eb19c"
   332                       "868d2e0eb19c"
   334                   ],
   333                   ],
   335                   "debugobshistory.verb": "rewritten"
   334                   "user": "test",
   336               }
   335                   "verb": "rewritten"
   337           ],
   336               }
   338           "debugobshistory.node": "d9f908fde1a1",
   337           ],
   339           "debugobshistory.rev": 6,
   338           "node": "d9f908fde1a1",
   340           "debugobshistory.shortdescription": "F"
   339           "rev": 6,
       
   340           "shortdescription": "F"
   341       },
   341       },
   342       {
   342       {
   343           "debugobshistory.markers": [
   343           "markers": [
   344               {
   344               {
   345                   "debugobshistory.effect": [
   345                   "date": [
   346                       "description",
   346                       *, (glob)
   347                       "parent",
   347                       0
   348                       "content"
   348                   ],
   349                   ],
   349                   "effect": [
   350                   "debugobshistory.marker_date": [
   350                       "description",
   351                       *, (glob)
   351                       "parent",
   352                       0
   352                       "content"
   353                   ],
   353                   ],
   354                   "debugobshistory.marker_user": "test",
   354                   "succnodes": [
   355                   "debugobshistory.succnodes": [
       
   356                       "d9f908fde1a1"
   355                       "d9f908fde1a1"
   357                   ],
   356                   ],
   358                   "debugobshistory.verb": "rewritten"
   357                   "user": "test",
   359               }
   358                   "verb": "rewritten"
   360           ],
   359               }
   361           "debugobshistory.node": "0da815c333f6",
   360           ],
   362           "debugobshistory.rev": 5,
   361           "node": "0da815c333f6",
   363           "debugobshistory.shortdescription": "E"
   362           "rev": 5,
       
   363           "shortdescription": "E"
   364       },
   364       },
   365       {
   365       {
   366           "debugobshistory.markers": [
   366           "markers": [
   367               {
   367               {
   368                   "debugobshistory.effect": [
   368                   "date": [
   369                       "description",
   369                       *, (glob)
   370                       "parent",
   370                       0
   371                       "content"
   371                   ],
   372                   ],
   372                   "effect": [
   373                   "debugobshistory.marker_date": [
   373                       "description",
   374                       *, (glob)
   374                       "parent",
   375                       0
   375                       "content"
   376                   ],
   376                   ],
   377                   "debugobshistory.marker_user": "test",
   377                   "succnodes": [
   378                   "debugobshistory.succnodes": [
       
   379                       "2a34000d3544",
   378                       "2a34000d3544",
   380                       "868d2e0eb19c"
   379                       "868d2e0eb19c"
   381                   ],
   380                   ],
   382                   "debugobshistory.verb": "rewritten"
   381                   "user": "test",
   383               }
   382                   "verb": "rewritten"
   384           ],
   383               }
   385           "debugobshistory.node": "a8df460dbbfe",
   384           ],
   386           "debugobshistory.rev": 3,
   385           "node": "a8df460dbbfe",
   387           "debugobshistory.shortdescription": "C"
   386           "rev": 3,
       
   387           "shortdescription": "C"
   388       },
   388       },
   389       {
   389       {
   390           "debugobshistory.markers": [
   390           "markers": [
   391               {
   391               {
   392                   "debugobshistory.effect": [
   392                   "date": [
   393                       "description",
   393                       *, (glob)
   394                       "parent",
   394                       0
   395                       "content"
   395                   ],
   396                   ],
   396                   "effect": [
   397                   "debugobshistory.marker_date": [
   397                       "description",
   398                       *, (glob)
   398                       "parent",
   399                       0
   399                       "content"
   400                   ],
   400                   ],
   401                   "debugobshistory.marker_user": "test",
   401                   "succnodes": [
   402                   "debugobshistory.succnodes": [
       
   403                       "a8df460dbbfe"
   402                       "a8df460dbbfe"
   404                   ],
   403                   ],
   405                   "debugobshistory.verb": "rewritten"
   404                   "user": "test",
   406               }
   405                   "verb": "rewritten"
   407           ],
   406               }
   408           "debugobshistory.node": "c473644ee0e9",
   407           ],
   409           "debugobshistory.rev": 2,
   408           "node": "c473644ee0e9",
   410           "debugobshistory.shortdescription": "B"
   409           "rev": 2,
       
   410           "shortdescription": "B"
   411       },
   411       },
   412       {
   412       {
   413           "debugobshistory.markers": [
   413           "markers": [
   414               {
   414               {
   415                   "debugobshistory.effect": [
   415                   "date": [
   416                       "description",
   416                       *, (glob)
   417                       "parent",
   417                       0
   418                       "content"
   418                   ],
   419                   ],
   419                   "effect": [
   420                   "debugobshistory.marker_date": [
   420                       "description",
   421                       *, (glob)
   421                       "parent",
   422                       0
   422                       "content"
   423                   ],
   423                   ],
   424                   "debugobshistory.marker_user": "test",
   424                   "succnodes": [
   425                   "debugobshistory.succnodes": [
       
   426                       "c473644ee0e9"
   425                       "c473644ee0e9"
   427                   ],
   426                   ],
   428                   "debugobshistory.verb": "rewritten"
   427                   "user": "test",
   429               }
   428                   "verb": "rewritten"
   430           ],
   429               }
   431           "debugobshistory.node": "2a34000d3544",
   430           ],
   432           "debugobshistory.rev": 1,
   431           "node": "2a34000d3544",
   433           "debugobshistory.shortdescription": "A"
   432           "rev": 1,
       
   433           "shortdescription": "A"
   434       }
   434       }
   435   ]
   435   ]
   436 
   436