/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: Aaron Bentley
  • Date: 2007-12-02 02:29:02 UTC
  • mfrom: (3009.1.1 bzr.bug162264)
  • mto: This revision was merged to the branch mainline in revision 3064.
  • Revision ID: aaron.bentley@utoronto.ca-20071202022902-zbcg5bf5t6aivn5v
Update for Linux

Show diffs side-by-side

added added

removed removed

Lines of Context:
1881
1881
        try:
1882
1882
            os.rename(from_, to)
1883
1883
        except OSError, e:
1884
 
            if e.errno == errno.EEXIST:
 
1884
            if e.errno in (errno.EEXIST, errno.ENOTEMPTY):
1885
1885
                raise errors.FileExists(to, str(e))
1886
1886
            raise
1887
1887
        self.past_renames.append((from_, to))