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

  • Committer: Martin Pool
  • Date: 2006-06-20 05:32:16 UTC
  • mfrom: (1797 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1798.
  • Revision ID: mbp@sourcefrog.net-20060620053216-817857d7ca3e9d1f
[merge] bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
 
32
32
@deprecated_function(zero_eight)
33
 
def show_status(branch, show_unchanged=False,
 
33
def show_status(branch, show_unchanged=None,
34
34
                specific_files=None,
35
35
                show_ids=False,
36
36
                to_file=None,
71
71
                     specific_files, show_ids, to_file, show_pending, revision)
72
72
 
73
73
 
74
 
def show_tree_status(wt, show_unchanged=False,
 
74
def show_tree_status(wt, show_unchanged=None,
75
75
                     specific_files=None,
76
76
                     show_ids=False,
77
77
                     to_file=None,
89
89
    If showing the status of a working tree, extra information is included
90
90
    about unknown files, conflicts, and pending merges.
91
91
 
92
 
    show_unchanged
93
 
        If set, includes unchanged files.
94
 
 
95
 
    specific_files
96
 
        If set, a list of filenames whose status should be shown.
97
 
        It is an error to give a filename that is not in the working 
 
92
    :param show_unchanged: Deprecated parameter. If set, includes unchanged 
 
93
        files.
 
94
    :param specific_files: If set, a list of filenames whose status should be
 
95
        shown.  It is an error to give a filename that is not in the working 
98
96
        tree, or in the working inventory or in the basis inventory.
99
 
 
100
 
    show_ids
101
 
        If set, includes each file's id.
102
 
 
103
 
    to_file
104
 
        If set, write to this file (default stdout.)
105
 
 
106
 
    show_pending
107
 
        If set, write pending merges.
108
 
 
109
 
    revision
110
 
        If None the compare latest revision with working tree
 
97
    :param show_ids: If set, includes each file's id.
 
98
    :param to_file: If set, write to this file (default stdout.)
 
99
    :param show_pending: If set, write pending merges.
 
100
    :param revision: If None the compare latest revision with working tree
 
101
        If not None it must be a RevisionSpec list.
111
102
        If one revision show compared it with working tree.
112
103
        If two revisions show status between first and second.
113
104
    """
114
 
    if to_file == None:
 
105
    if show_unchanged is not None:
 
106
        warn("show_status_trees with show_unchanged has been deprecated "
 
107
             "since bzrlib 0.9", DeprecationWarning, stacklevel=2)
 
108
 
 
109
    if to_file is None:
115
110
        to_file = sys.stdout
116
111
    
117
112
    wt.lock_read()