~bzr-builddeb-hackers/bzr-builddeb/2.0

Viewing all changes in revision 290.

  • Committer: James Westby
  • Date: 2008-10-01 14:14:36 UTC
  • Revision ID: jw+debian@jameswestby.net-20081001141436-2p9nndn66z2my1wl
Handle result and build dirs being the same better.

If the result and build dirs are the same, but have different paths
the simple check for equality of the paths doesn't work. Make it check
abspaths instead.

Also check os.path.samefile before moving the files to avoid the exception
if the check doesn't catch a case.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: