/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

  • Committer: Ian Clatworthy
  • Date: 2007-08-06 08:25:46 UTC
  • mto: (2674.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 2675.
  • Revision ID: ian.clatworthy@internode.on.net-20070806082546-oup6ujeleehqoqfj
Bazaar User Reference generated from online help

Show diffs side-by-side

added added

removed removed

Lines of Context:
266
266
    A negative number will count from the end of the branch (-1 is the
267
267
    last revision, -2 the previous one). If the negative number is larger
268
268
    than the branch's history, the first revision is returned.
269
 
    examples:
 
269
    Examples::
 
270
 
270
271
      revno:1                   -> return the first revision
271
272
      revno:3:/path/to/branch   -> return the 3rd revision of
272
273
                                   the branch '/path/to/branch'
370
371
    Supply a specific revision id, that can be used to specify any
371
372
    revision id in the ancestry of the branch. 
372
373
    Including merges, and pending merges.
373
 
    examples:
 
374
    Examples::
 
375
 
374
376
      revid:aaaa@bbbb-123456789 -> Select revision 'aaaa@bbbb-123456789'
375
377
    """    
376
378
    prefix = 'revid:'
392
394
 
393
395
    Supply a positive number to get the nth revision from the end.
394
396
    This is the same as supplying negative numbers to the 'revno:' spec.
395
 
    examples:
 
397
    Examples::
 
398
 
396
399
      last:1        -> return the last revision
397
400
      last:3        -> return the revision 2 before the end.
398
401
    """    
433
436
    This is mostly useful when inspecting revisions that are not in the
434
437
    revision history of a branch.
435
438
 
436
 
    examples:
 
439
    Examples::
 
440
 
437
441
      before:1913    -> Return the parent of revno 1913 (revno 1912)
438
442
      before:revid:aaaa@bbbb-1234567890  -> return the parent of revision
439
443
                                            aaaa@bbbb-1234567890
521
525
    Matches the first entry after a given date (either at midnight or
522
526
    at a specified time).
523
527
 
524
 
    One way to display all the changes since yesterday would be:
 
528
    One way to display all the changes since yesterday would be::
525
529
        bzr log -r date:yesterday..-1
526
530
 
527
 
    examples:
 
531
    Examples::
 
532
 
528
533
      date:yesterday            -> select the first revision since yesterday
529
534
      date:2006-08-14,17:10:14  -> select the first revision after
530
535
                                   August 14th, 2006 at 5:10pm.
612
617
    that your branch introduces, while excluding the changes that you
613
618
    have not merged from the remote branch.
614
619
 
615
 
    examples:
 
620
    Examples::
 
621
 
616
622
      ancestor:/path/to/branch
617
623
      $ bzr diff -r ancestor:../../mainline/branch
618
624
    """
660
666
 
661
667
    Supply the path to a branch to select its last revision.
662
668
 
663
 
    examples:
 
669
    Examples::
 
670
 
664
671
      branch:/path/to/branch
665
672
    """
666
673
    prefix = 'branch:'
696
703
    branches. Usually this is the branch point, but it could also be
697
704
    a revision that was merged.
698
705
 
699
 
    examples:
 
706
    Examples::
 
707
 
700
708
      $ bzr diff -r submit:
701
709
    """
702
710