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

  • Committer: Vincent Ladeuil
  • Date: 2010-01-13 17:21:29 UTC
  • mto: (4956.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4957.
  • Revision ID: v.ladeuil+lp@free.fr-20100113172129-ih6sn8ho6b6pwuab
Use os.rename() and fix some typos.

* bzrlib/tests/test_script.py:
(TestMv.test_move_unknown_file): Check the error case.

* bzrlib/tests/script.py:
(ScriptRunner.do_mv): Us os.rename instead of shutil.move. It's
less powerful but reflects more closely the expected limitations
in the future transport-based implementation.

* NEWS: 
Always sorted in alphabetical order.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005-2010 Canonical Ltd
 
1
# Copyright (C) 2005, 2006 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
28
28
    symbol_versioning,
29
29
    )
30
30
from bzrlib.osutils import contains_whitespace
 
31
from bzrlib.progress import DummyProgress
31
32
 
32
33
NULL_REVISION="null:"
33
34
CURRENT_REVISION="current:"