Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-11-2012, 11:09 AM   #1
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,064
Blog Entries: 1

Rep: Reputation: 90
bzr-svn: imported a repo but branches can't be "pulled"


I did a svn-import of a svn repo (branches). But when I go into the branches and try to do a pull, they tell me that the parent location is not a branch.

Repository branch (format: 2a)
  shared repository: /home/antoranz/Documentos/blah/blah
  repository branch: .

Related branches:
  parent branch: https://linuxserver/svn.repos/blah/blah/RF_CDC_pthca.3798
Now, I'll try to pull:
$ bzr pull
Using saved parent location: https://linuxserver/svn.repos/blah/blah/RF_CDC_pthca.3798
bzr: ERROR: Connection error: curl connection error (server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
on https://linuxserver/svn.repos/sistema_medico/branches/blah/blah/RF_CDC_pthca.3798
Ok.... so self signed certificate:

$ bzr pull -Ossl.cert_reqs=none https+urllib://linuxserver/svn.repos/blah/blah/RF_CDC_pthca.3798
Not checking SSL certificate for linuxserver
HTTPS linuxserver, Realm: 'Subversion repository for CPS - GNSA' username: myusername
HTTPS myusername@linuxserver, Realm: 'Subversion repository for CPS - GNSA' password: 
bzr: ERROR: Not a branch: "https://linuxserver/svn.repos/blah/blah/RF_CDC_pthca.3798".
What the hell?

From bzr log for the last operation:
mar 2012-09-11 11:06:06 -0500
0.053  bazaar version: 2.5.1
0.053  bzr arguments: [u'pull', u'-Ossl.cert_reqs=none', u'https+urllib://linuxserver/svn.repos/sistema_medico/branches/RF_CDC_pthca.3798']
0.055  looking for plugins in /home/antoranz/.bazaar/plugins
0.055  looking for plugins in /usr/lib/python2.7/dist-packages/bzrlib/plugins
0.076  encoding stdout as sys.stdout encoding 'UTF-8'
[ 7672] 2012-09-11 11:06:09.940 WARNING: Not checking SSL certificate for linuxserver
21.834  bzr-svn: using Subversion 1.6.17 (), subvertpy 0.8.10
24.900  Verifying SSL server: https://linuxserver:443
38.706  Transferred: 23kB (0.7kB/s r:3kB w:1kB u:19kB)
38.712  Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 920, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 1131, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 673, in run_argv_aliases
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 695, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 1222, in run
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 187, in open
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/", line 525, in open_branch
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/", line 234, in __init__
    raise NotBranchError(self.base)
NotBranchError: Not a branch: "https://linuxserver/svn.repos/sistema_medico/branches/RF_CDC_pthca.3798".

38.712  return code 3
Informatio nabout bzr:
$ bzr info
Repository branch (format: 2a)
  shared repository: /home/antoranz/Documentos/cps/sistema_medico
  repository branch: .

Related branches:
  parent branch: https://linuxserver/svn.repos/sistema_medico/branches/RF_CDC_pthca.3798
antoranz@linuxerio:~/Documentos/cps/sistema_medico/branches/RF_CDC_pthca.3798$ bzr version
Bazaar (bzr) 2.5.1
  Python interpreter: /usr/bin/python 2.7.3
  Python standard library: /usr/lib/python2.7
  Platform: Linux-3.2.0-30-generic-pae-i686-with-Ubuntu-12.04-precise
  bzrlib: /usr/lib/python2.7/dist-packages/bzrlib
  Bazaar configuration: /home/antoranz/.bazaar
  Bazaar log file: /home/antoranz/.bzr.log

Copyright 2005-2012 Canonical Ltd.

bzr comes with ABSOLUTELY NO WARRANTY.  bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

Bazaar is part of the GNU Project to produce a free operating system.

antoranz@linuxerio:~/Documentos/cps/sistema_medico/branches/RF_CDC_pthca.3798$ bzr plugins
bash_completion 2.5.1
  Generate a shell function for bash command line completion.

changelog_merge 2.5.1
  Merge hook for GNU-format ChangeLog files

launchpad 2.5.1 integration plugin for Bazaar.

netrc_credential_store 2.5.1
  Use ~/.netrc as a credential store for authentication.conf.

news_merge 2.5.1
  Merge hook for bzr's NEWS file.

po_merge 2.5.1
  Merge hook for ``.po`` files.

qbzr 0.22.2
  QBzr - Qt-based frontend for Bazaar

svn 1.2.1
  Support for Subversion branches

weave_fmt 2.5.1
  Weave formats.

xmloutput 0.8.8
  This plugin adds an option (--xml) to log and provides an xml version of some builtin commands.
Old 09-11-2012, 11:49 AM   #2
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,064
Blog Entries: 1

Original Poster
Rep: Reputation: 90
Oh, nevermind.... there was a repo reorganization and I wasn't notified. Ugh! Had to use svn ls to see what had happened.

Thanks anyway.


bzr, pull, self signed, svn

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bzr - rebase of separate branches eantoranz Programming 0 05-24-2012 04:44 PM
[SOLVED] Meaningless error message from SVN "svn: generic failure" Skaperen Linux - Software 4 05-08-2012 09:38 PM
GNU Assembler (GAS/"as"): How to emit 8 bit relative branches? tedn Linux - Software 4 03-15-2012 10:16 PM
Help "merging" two mercurial (hg) "branches" sohmc Linux - Software 1 03-09-2011 12:58 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration