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

  • Committer: John Arbash Meinel
  • Date: 2005-10-27 21:31:30 UTC
  • mto: (1185.31.24 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1512.
  • Revision ID: john@arbash-meinel.com-20051027213130-d2c5a6c65a3bfbb2
Updated to latest bzr.dev code, and added tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
import os
7
7
import bzrlib
8
8
 
9
 
try:
10
 
    set
11
 
except NameError:
12
 
    from sets import Set as set
13
 
 
14
9
def test_remove(filename):
15
10
    if os.path.exists(filename):
16
11
        os.remove(filename)
24
19
 
25
20
    :param remove_files: If True, remove files from the stores
26
21
        as well.
 
22
    :param force: Don't ask any questions
27
23
    """
28
24
    from bzrlib.atomicfile import AtomicFile
29
25
    rh = branch.revision_history()