~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/fileservice_lib/action.py

  • Committer: Matt Giuca
  • Date: 2010-02-23 05:18:48 UTC
  • Revision ID: matt.giuca@gmail.com-20100223051848-8kxdsitlvkeyl4gt
Added handlers and documentation for Subversion status 'ignored' (we call them 'Temporary file (ignored)'. This was previously handled as an 'unknown status'. Ignored files now can't have svn actions done on them either. This fixes Launchpad bug #526220.

Show diffs side-by-side

added added

removed removed

Lines of Context:
653
653
    Reads fields: 'path' (multiple), 'logmsg' (optional)
654
654
    """
655
655
    paths = fields.getlist('path')
656
 
    if len(paths):
657
 
        paths = map(lambda path:actionpath_to_local(req,path).decode('utf-8'),
658
 
                    paths)
659
 
    else:
660
 
        paths = [studpath.to_home_path(req.path).decode('utf-8')]
 
656
    paths = map(lambda path: actionpath_to_local(req, path).decode('utf-8'),
 
657
                paths)
661
658
    logmsg = str(fields.getfirst('logmsg',
662
659
                 DEFAULT_LOGMESSAGE)).decode('utf-8')
663
660
    if logmsg == '': logmsg = DEFAULT_LOGMESSAGE