/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 olive/backend/info.py

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2006-08-13 11:02:48 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-20060813110248-4f256d8db6247b61
Some bugs fixed in the Push dialog; added TODO items.

2006-08-13  Szilveszter Farkas <Szilveszter.Farkas@gmail.com>

    * TODO: some more items added
    * olive.glade: Push window should not be visible by default
    * olive/frontend/gtk/push.py: fixed a bug if no push location known; user
      gets an error if directory is not a branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
246
246
    except errors.NoRepositoryPresent:
247
247
        pass
248
248
 
249
 
def is_branch(location):
250
 
    """ Check if the location is a branch.
251
 
    
252
 
    :param location: the location you want to check
253
 
    
254
 
    :return: True or False respectively
255
 
    """
256
 
    try:
257
 
        branch = Branch.open_containing(location)[0]
258
 
    except errors.NotBranchError:
259
 
        return False
260
 
    else:
261
 
        return True
262
 
        
263
 
 
264
249
def is_checkout(location):
265
250
    """ Check if the location is a checkout.
266
251
    
290
275
    else:
291
276
        return False
292
277
 
 
278
 
293
279
def log(location, timezone='original', verbose=False, show_ids=False,
294
280
        forward=False, revision=None, log_format=None, message=None,
295
281
        long=False, short=False, line=False):