/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 __init__.py

  • Committer: Lukáš Lalinský
  • Date: 2008-07-09 07:47:10 UTC
  • mto: (0.140.35 trunk)
  • mto: This revision was merged to the branch mainline in revision 6646.
  • Revision ID: lalinsky@gmail.com-20080709074710-uq4aanfc1eeuw3d6
Use r.as_revision_id(b) instead of r.in_histort(b).rev_id

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
            last_rev = wt.last_revision()
202
202
 
203
203
        if revision is not None:
204
 
            last_rev = revision[0].in_history(a_branch).rev_id
 
204
            last_rev = revision[0].as_revision_id(a_branch)
205
205
            if len(revision) > 1:
206
 
                alternate_rev = revision[1].in_history(a_branch).rev_id
 
206
                alternate_rev = revision[1].as_revision_id(a_branch)
207
207
 
208
208
        a_branch.lock_read()
209
209
        try:
352
352
            last_rev = wt.last_revision()
353
353
 
354
354
        if revision is not None:
355
 
            last_rev = revision[0].in_history(a_branch).rev_id
 
355
            last_rev = revision[0].as_revision_id(a_branch)
356
356
 
357
357
        a_branch.lock_read()
358
358
        try: