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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-22 09:50:13 UTC
  • mfrom: (3446.1.1 controlfiles)
  • Revision ID: pqm@pqm.ubuntu.com-20080522095013-rhu6mkle55wxip12
(mbp) LockableFiles deprecations and cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
1145
1145
        tree.lock_tree_write()
1146
1146
 
1147
1147
        try:
1148
 
            control_files = tree._control_files
1149
1148
            limbodir = urlutils.local_path_from_url(
1150
 
                control_files.controlfilename('limbo'))
 
1149
                tree._transport.abspath('limbo'))
1151
1150
            try:
1152
1151
                os.mkdir(limbodir)
1153
1152
            except OSError, e:
1154
1153
                if e.errno == errno.EEXIST:
1155
1154
                    raise ExistingLimbo(limbodir)
1156
1155
            deletiondir = urlutils.local_path_from_url(
1157
 
                control_files.controlfilename('pending-deletion'))
 
1156
                tree._transport.abspath('pending-deletion'))
1158
1157
            try:
1159
1158
                os.mkdir(deletiondir)
1160
1159
            except OSError, e: