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

Changed default behaviour to do a full upload if no previous upload has been detected

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
        self.rev_id = rev_id
107
107
        self._pending_renames = []
108
108
        self._pending_deletions = []
 
109
 
 
110
        # We check to see if we have previously uploaded, if not
 
111
        # we do a full initial upload. I believe this should be
 
112
        # the default behaviour
 
113
        try:
 
114
            rev_id = self.get_uploaded_revid()
 
115
        except errors.PathError:
 
116
            full = True
 
117
 
109
118
        if full:
110
119
            self.upload_full_tree()
111
120
        else: