/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to backend/commit.py

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2006-06-21 20:14:00 UTC
  • mto: (0.14.1 main) (93.1.1 win32.bialix)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: Szilveszter.Farkas@gmail.com-20060621201400-ef7ddfe95b6687a0
2006-06-20  Szilveszter Farkas <Szilveszter.Farkas@gmail.com>

    * backend/init.py: moved pull() to backend/update.py
    * backend/update.py: implemented update() and missing()
        
2006-06-19  Szilveszter Farkas <Szilveszter.Farkas@gmail.com>
        
    * backend/errors.py: renamed NoPushLocationKnown to NoLocationKnown
    * backend/init.py: implemented pull()

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
                    NoChangesToCommitError, ConflictsInTreeError,
26
26
                    StrictCommitError, BoundBranchOutOfDate,
27
27
                    LocalRequiresBoundBranch, NotBranchError, NonExistingParent,
28
 
                    PathPrefixNotCreated, NoPushLocationKnown,
 
28
                    PathPrefixNotCreated, NoLocationKnown,
29
29
                    DivergedBranchesError)
30
30
 
31
31
def commit(selected_list, message=None, file=None, unchanged=False,
81
81
    except errors.BoundBranchOutOfDate, e:
82
82
        raise BoundBranchOutOfDate(str(e))
83
83
 
84
 
# FIXME - not tested yet
85
84
def push(branch, location=None, remember=False, overwrite=False,
86
85
         create_prefix=False):
87
86
    """ Update a mirror of a branch.
105
104
    stored_loc = br_from.get_push_location()
106
105
    if location is None:
107
106
        if stored_loc is None:
108
 
            raise NoPushLocationKnown
 
107
            raise NoLocationKnown
109
108
        else:
110
109
            location = stored_loc
111
110