/stdhome

To get this branch, use:
bzr branch http://bzr.ed.am/stdhome

« back to all changes in this revision

Viewing changes to lib/stdhome/vcs/bzr.py

  • Committer: Tim Marston
  • Date: 2014-07-17 18:17:18 UTC
  • Revision ID: tim@ed.am-20140717181718-gxi5lpi8qszsigxf
switch to using bzr+ssh, rather than sftp (to work around broken pimiko)

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
                                else:
142
142
                                        raise RuntimeError( 'exotic file in repo: %s' % file )
143
143
 
144
 
                # if a revision identifier has been given, ensure we're updated to that
145
 
                if revno is not None and self.get_revno() != revno:
 
144
                # if a revision identifyer has been given, update to that
 
145
                if revno is not None:
146
146
 
147
147
                        # bzr update
148
148
                        self.run( [ 'bzr', 'update', '-r', revno ] )
259
259
                """
260
260
 
261
261
                # bzr add
262
 
                self.run( [ 'bzr', 'add', '-N' ] + files )
 
262
                self.run( [ 'bzr', 'add' ] + files )
263
263
 
264
264
 
265
265
        def commit( self ):