LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Hi!

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.

Code:
Repository branch (format: 2a)
Location:
  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:
Code:
$ 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:

Code:
$ 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:
Code:
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/commands.py", line 920, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1131, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 695, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 1222, in run
    possible_transports=possible_transports)
  File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 187, in open
    possible_transports=possible_transports)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/remote.py", line 525, in open_branch
    project=project)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/branch.py", 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:
Code:
$ bzr info
Repository branch (format: 2a)
Location:
  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.
http://bazaar.canonical.com/

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
  Launchpad.net 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
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

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.
 
  


Reply

Tags
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:08 PM.

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