/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 __init__.py

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2007-05-08 17:55:38 UTC
  • mto: (195.1.2 trunk)
  • mto: This revision was merged to the branch mainline in revision 199.
  • Revision ID: szilveszter.farkas@gmail.com-20070508175538-stjo6nzpe03f5kvl
NotBranchError exception shouldn't be handled. (Fixes: #113394)

Show diffs side-by-side

added added

removed removed

Lines of Context:
323
323
        try:
324
324
            (wt, path) = workingtree.WorkingTree.open_containing(filename)
325
325
            br = wt.branch
326
 
        except NotBranchError, e:
327
 
            path = e.path
328
326
        except NoWorkingTree, e:
329
327
            path = e.base
330
 
            try:
331
 
                (br, path) = branch.Branch.open_containing(path)
332
 
            except NotBranchError, e:
333
 
                path = e.path
 
328
            (br, path) = branch.Branch.open_containing(path)
334
329
 
335
330
        commit = CommitDialog(wt, path, not br)
336
331
        commit.run()