319 "rev": 0, |
319 "rev": 0, |
320 "user": "spam" |
320 "user": "spam" |
321 } |
321 } |
322 ] |
322 ] |
323 |
323 |
|
324 diff of each revision for reference |
|
325 |
|
326 $ hg log -p -T'== rev: {rev} ==\n' |
|
327 == rev: 4 == |
|
328 diff -r 95040cfd017d -r 914fa752cdea port |
|
329 --- a/port Thu Jan 01 00:00:03 1970 +0000 |
|
330 +++ b/port Thu Jan 01 00:00:04 1970 +0000 |
|
331 @@ -1,4 +1,3 @@ |
|
332 export |
|
333 vaportight |
|
334 import/export |
|
335 -import/export |
|
336 |
|
337 == rev: 3 == |
|
338 diff -r 3b325e3481a1 -r 95040cfd017d port |
|
339 --- a/port Thu Jan 01 00:00:02 1970 +0000 |
|
340 +++ b/port Thu Jan 01 00:00:03 1970 +0000 |
|
341 @@ -1,3 +1,4 @@ |
|
342 export |
|
343 vaportight |
|
344 import/export |
|
345 +import/export |
|
346 |
|
347 == rev: 2 == |
|
348 diff -r 8b20f75c1585 -r 3b325e3481a1 port |
|
349 --- a/port Thu Jan 01 00:00:01 1970 +0000 |
|
350 +++ b/port Thu Jan 01 00:00:02 1970 +0000 |
|
351 @@ -1,2 +1,3 @@ |
|
352 -import |
|
353 export |
|
354 +vaportight |
|
355 +import/export |
|
356 |
|
357 == rev: 1 == |
|
358 diff -r f31323c92170 -r 8b20f75c1585 port |
|
359 --- a/port Thu Jan 01 00:00:00 1970 +0000 |
|
360 +++ b/port Thu Jan 01 00:00:01 1970 +0000 |
|
361 @@ -1,1 +1,2 @@ |
|
362 import |
|
363 +export |
|
364 |
|
365 == rev: 0 == |
|
366 diff -r 000000000000 -r f31323c92170 port |
|
367 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
|
368 +++ b/port Thu Jan 01 00:00:00 1970 +0000 |
|
369 @@ -0,0 +1,1 @@ |
|
370 +import |
|
371 |
|
372 |
324 all |
373 all |
325 |
374 |
326 $ hg grep --traceback --all -nu port port |
375 $ hg grep --traceback --all -nu port port |
327 port:4:4:-:spam:import/export |
376 port:4:4:-:spam:import/export |
328 port:3:4:+:eggs:import/export |
377 port:3:4:+:eggs:import/export |
329 port:2:1:-:spam:import |
378 port:2:1:-:spam:import |
330 port:2:2:-:spam:export |
|
331 port:2:1:+:spam:export |
|
332 port:2:2:+:spam:vaportight |
379 port:2:2:+:spam:vaportight |
333 port:2:3:+:spam:import/export |
380 port:2:3:+:spam:import/export |
334 port:1:2:+:eggs:export |
381 port:1:2:+:eggs:export |
335 port:0:1:+:spam:import |
382 port:0:1:+:spam:import |
336 |
383 |
364 "lineno": 1, |
411 "lineno": 1, |
365 "node": "3b325e3481a1f07435d81dfdbfa434d9a0245b47", |
412 "node": "3b325e3481a1f07435d81dfdbfa434d9a0245b47", |
366 "path": "port", |
413 "path": "port", |
367 "rev": 2, |
414 "rev": 2, |
368 "texts": [{"matched": false, "text": "im"}, {"matched": true, "text": "port"}], |
415 "texts": [{"matched": false, "text": "im"}, {"matched": true, "text": "port"}], |
369 "user": "spam" |
|
370 }, |
|
371 { |
|
372 "change": "-", |
|
373 "date": [2, 0], |
|
374 "lineno": 2, |
|
375 "node": "3b325e3481a1f07435d81dfdbfa434d9a0245b47", |
|
376 "path": "port", |
|
377 "rev": 2, |
|
378 "texts": [{"matched": false, "text": "ex"}, {"matched": true, "text": "port"}], |
|
379 "user": "spam" |
|
380 }, |
|
381 { |
|
382 "change": "+", |
|
383 "date": [2, 0], |
|
384 "lineno": 1, |
|
385 "node": "3b325e3481a1f07435d81dfdbfa434d9a0245b47", |
|
386 "path": "port", |
|
387 "rev": 2, |
|
388 "texts": [{"matched": false, "text": "ex"}, {"matched": true, "text": "port"}], |
|
389 "user": "spam" |
416 "user": "spam" |
390 }, |
417 }, |
391 { |
418 { |
392 "change": "+", |
419 "change": "+", |
393 "date": [2, 0], |
420 "date": [2, 0], |
458 $ hg grep -f --all -nu port port2 |
485 $ hg grep -f --all -nu port port2 |
459 port2:6:4:+:eggs:deport |
486 port2:6:4:+:eggs:deport |
460 port:4:4:-:spam:import/export |
487 port:4:4:-:spam:import/export |
461 port:3:4:+:eggs:import/export |
488 port:3:4:+:eggs:import/export |
462 port:2:1:-:spam:import |
489 port:2:1:-:spam:import |
463 port:2:2:-:spam:export |
|
464 port:2:1:+:spam:export |
|
465 port:2:2:+:spam:vaportight |
490 port:2:2:+:spam:vaportight |
466 port:2:3:+:spam:import/export |
491 port:2:3:+:spam:import/export |
467 port:1:2:+:eggs:export |
492 port:1:2:+:eggs:export |
468 port:0:1:+:spam:import |
493 port:0:1:+:spam:import |
469 |
494 |