~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to fai.py

  • Committer: Aaron Bentley
  • Date: 2005-09-29 16:16:56 UTC
  • mto: (147.2.17)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: abentley@panoramicfeedback.com-20050929161656-0aa948c2f00f3655
Fixed import issues w/ PyBaz

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
#    along with this program; if not, write to the Free Software
16
16
#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
17
 
18
 
from bzrlib.plugins.bzrtools import pybaz
19
 
import pybaz.errors
20
 
from bzrlib.plugins.bzrtools.pybaz.backends.baz import sequence_cmd
 
18
import pybaz
 
19
from pybaz.backends.baz import sequence_cmd
21
20
import re
22
21
 
23
 
 
24
22
__docformat__ = "restructuredtext"
25
23
__doc__ = "Utility functions to be used by commands"
26
24
 
62
60
                    if tree_log.revision == log.revision:
63
61
                        found = True
64
62
                print "ancestor of %s is %s" % (log.revision, ancestor)
65
 
        except Exception, e:
66
 
            print repr(e.__class__)
67
 
            print repr(pybaz.errors.ExecProblem)
68
 
            print e.__class__ == pybaz.errors.ExecProblem
69
 
            raise
70
63
        if ancestor is not None:
71
64
            indirect.append(ancestor)
72
65
    return [log for log in logs if not log.revision in indirect]