~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Parth Malwankar
  • Date: 2010-07-14 08:53:58 UTC
  • mto: (5050.3.7 2.2)
  • mto: This revision was merged to the branch mainline in revision 5365.
  • Revision ID: parth.malwankar@gmail.com-20100714085358-6un4ny0cn908spkq
better error message for RecursiveBind

Show diffs side-by-side

added added

removed removed

Lines of Context:
247
247
            try:
248
248
                master = self.get_master_branch(possible_transports)
249
249
                if master and self.user_url == master.user_url:
250
 
                    raise errors.RecursiveBind()
 
250
                    raise errors.RecursiveBind(self.user_url)
251
251
                if master is not None:
252
252
                    # return the master branch value
253
253
                    return master.nick