SVN Push Help.

Eric Berry elberry at gmail.com
Tue May 3 16:45:54 UTC 2011


Hi Jelmer,
   Thank you very much for all the help. I tried downgrading to the version
that came with my initial installation. It seems to be working now, I tried
a few test pushes, on two separate projects that were giving me issues
earlier.

However, I tried upgrading bzr-svn to the latest trunk again, but I'm unable
to reproduce the error again. I've tried a few more test pushes on the same
projects, they all succeeded.

Here is what svn-layout says:
[560] bzr svn-layout :parent
Repository root: https://my.host.com/svn/Corp

Layout: trunk3
Branch path: futurama/commons/codegen/trunk
Project: futurama/commons/codegen
Tag container directory: futurama/commons/codegen/tags
Branch container directory: futurama/commons/codegen/branches
Push merged revisions: None

Perhaps downgrading fixed something?

Looking back in the terminal I noticed that yesterday there was some output
that said:
https://my.host.com/svn/Corp/futurama/commons/codegen/trunk permanently
moved to https://my.host.com/svn/Corp/futurama/commons/codegen/trunk

I'm not seeing that in the output today.

Eric

On Tue, May 3, 2011 at 8:00 AM, Jelmer Vernooij <jelmer at samba.org> wrote:

>
> On Mon, 2011-05-02 at 17:32 -0700, Eric Berry wrote:
> > I take it back. It's now broken again.
> >
> > Is there some caching thing that could be happening here? I was able
> > to push changes back to the SVN server once, and it seems to have
> > broken after that.
> >
> > I've tried clearing out the svn-cache, and subversion.conf under
> > my .bazaar directory. That doesn't seem to help at all.
> Another thing - do you see this behaviour only with trunk or also with
> older versions of bzr-svn ? I'm wondering if it's a regression in the
> new push code.
>
> Cheers,
>
> Jelmer
>
> > On Mon, May 2, 2011 at 4:47 PM, Eric Berry <elberry at gmail.com> wrote:
> >         Ok. It seems to be working now. Literally did nothing except
> >         rebooted my machine.
> >
> >         Guess when in doubt - reboot?
> >
> >
> >
> >         On Mon, May 2, 2011 at 3:08 PM, Eric Berry <elberry at gmail.com>
> >         wrote:
> >                 Also, he just got back to me, he simply did a 'svn mv
> >                 common commons'.
> >
> >                 Not sure if that helps at all.
> >
> >                 Thanks,
> >                 Eric
> >
> >
> >
> >                 On Mon, May 2, 2011 at 3:01 PM, Eric Berry
> >                 <elberry at gmail.com> wrote:
> >                         Hi Jelmer,
> >                           Yes it does:
> >
> ------------------------------------------------------------------------
> >                         r70941 | ravinder | 2011-05-02 12:58:37 -0700
> >                         (Mon, 02 May 2011) | 1 line
> >                         Changed paths:
> >                            A /futurama/ccm
> >                            A /futurama/ccm/branches
> >                            A /futurama/ccm/tags
> >                            D /futurama/common
> >                            A /futurama/commons
> >                         (from /futurama/common:70940)
> >
> >                         creating new project ccm and renaming common
> >                         to commons
> >
> >
> >
> >
> >                         On Mon, May 2, 2011 at 2:53 PM, Jelmer
> >                         Vernooij <jelmer at samba.org> wrote:
> >                                 On Mon, 2011-05-02 at 14:46 -0700,
> >                                 Eric Berry wrote:
> >                                 > One thing to note is that the
> >                                 directory "commons" was recently
> >                                 renamed
> >                                 > from "common" to "commons". I'm
> >                                 trying to get information from the
> >                                 > SysAdmin on how exactly the
> >                                 directory was renamed, but it seems to
> >                                 > have affected this somehow.
> >                                 >
> >                                 > I can push things to projects
> >                                 outside of the "commons" directory,
> >                                 but
> >                                 > any projects inside the "commons"
> >                                 directory now give me this error.
> >
> >                                 Does the rename show up in "svn log
> >                                 -v" ?
> >
> >                                 Cheers,
> >
> >                                 Jelmer
> >
> >
> >                                 > On Mon, May 2, 2011 at 2:24 PM, Eric
> >                                 Berry <elberry at gmail.com> wrote:
> >                                 >         I was not able to save the
> >                                 history. But now I'm running in to
> >                                 >         another problem with bzr
> >                                 push to SVN.
> >                                 >
> >                                 >         Whenever I try to push to a
> >                                 newly branched svn branch I get
> >                                 >         this error:
> >                                 >         [quote]
> >                                 >         [589] bzr push :parent
> >                                 >         bzr: ERROR:
> >                                 subvertpy.SubversionException:
> >                                 ("'/svn/Corp/!
> >                                 >
> >
> svn/bc/70875/futurama/commons/codegen/trunk' path not found",
> >                                 >         160013)
> >                                 >
> >                                 >         Traceback (most recent call
> >                                 last):
> >                                 >           File
> >
> "/Library/Python/2.6/site-packages/bzrlib/commands.py",
> >                                 >         line 926, in
> >                                 exception_to_return_code
> >                                 >             return
> >                                 the_callable(*args, **kwargs)
> >                                 >           File
> >
> "/Library/Python/2.6/site-packages/bzrlib/commands.py",
> >                                 >         line 1126, in run_bzr
> >                                 >             ret = run(*run_argv)
> >                                 >           File
> >
> "/Library/Python/2.6/site-packages/bzrlib/commands.py",
> >                                 >         line 691, in
> >                                 run_argv_aliases
> >                                 >             return
> >                                 self.run(**all_cmd_args)
> >                                 >           File
> >
> "/Library/Python/2.6/site-packages/bzrlib/commands.py",
> >                                 >         line 713, in run
> >                                 >             return
> >                                 self._operation.run_simple(*args,
> >                                 **kwargs)
> >                                 >           File
> >
> "/Library/Python/2.6/site-packages/bzrlib/cleanup.py",
> >                                 >         line 135, in run_simple
> >                                 >             self.cleanups,
> >                                 self.func, *args, **kwargs)
> >                                 >           File
> >
> "/Library/Python/2.6/site-packages/bzrlib/cleanup.py",
> >                                 >         line 165, in
> >                                 _do_with_cleanups
> >                                 >             result = func(*args,
> >                                 **kwargs)
> >                                 >           File
> >
> "/Library/Python/2.6/site-packages/bzrlib/builtins.py",
> >                                 >         line 1132, in run
> >                                 >
> >                                 use_existing_dir=use_existing_dir,
> >                                 no_tree=no_tree)
> >                                 >           File
> >
> "/Library/Python/2.6/site-packages/bzrlib/push.py",
> >                                 >         line 140, in
> >                                 _show_push_branch
> >                                 >             remember, create_prefix)
> >                                 >
> >                                 >           File
> >
> "/Users/elberry/.bazaar/plugins/svn/remote.py", line
> >                                 >         394, in push_branch
> >                                 >             overwrite=overwrite)
> >                                 >           File
> >
> "/Library/Python/2.6/site-packages/bzrlib/branch.py",
> >                                 >         line 1095, in push
> >                                 >             *args, **kwargs)
> >                                 >           File
> >
> "/Users/elberry/.bazaar/plugins/svn/branch.py", line
> >                                 >         942, in push
> >                                 >
> >                                 >
> >
> override_svn_revprops=_override_svn_revprops)
> >                                 >
> >                                 >           File
> >
> "/Users/elberry/.bazaar/plugins/svn/branch.py", line
> >                                 >         886, in _update_revisions
> >                                 >
> >                                 self._push(stop_revision,
> >                                 overwrite=overwrite,
> >                                 >         push_metadata=True)
> >                                 >           File
> >
> "/Users/elberry/.bazaar/plugins/svn/branch.py", line
> >                                 >         875, in _push
> >                                 >
> >                                 layout=self.target.layout,
> >                                 project=self.target.project)
> >                                 >           File
> >
> "/Users/elberry/.bazaar/plugins/svn/push.py", line 348,
> >                                 >         in push_branch
> >                                 >
> >
> append_revisions_only=append_revisions_only)
> >                                 >           File
> >
> "/Users/elberry/.bazaar/plugins/svn/push.py", line 369,
> >                                 >         in push_todo
> >                                 >
> >                                 push_metadata=push_metadata)
> >                                 >           File
> >
> "/Users/elberry/.bazaar/plugins/svn/push.py", line 406,
> >                                 >         in push_revision_series
> >                                 >             project=project,
> >                                 layout=layout)
> >                                 >           File
> >
> "/Users/elberry/.bazaar/plugins/svn/push.py", line 424,
> >                                 >         in push_revision_inclusive
> >                                 >
> >                                 base_foreign_info=base_foreign_info)
> >                                 >
> >                                 >           File
> >
> "/Users/elberry/.bazaar/plugins/svn/push.py", line 454,
> >                                 >         in push_single_revision
> >                                 >             root_action=root_action)
> >                                 >           File
> >
> "/Users/elberry/.bazaar/plugins/svn/push.py", line 190,
> >                                 >         in push_revision_tree
> >                                 >             revid =
> >                                 builder.commit(rev.message)
> >                                 >           File
> >
> "/Users/elberry/.bazaar/plugins/svn/errors.py", line
> >                                 >         140, in convert
> >                                 >             return unbound(*args,
> >                                 **kwargs)
> >                                 >
> >                                 >           File
> >
> "/Users/elberry/.bazaar/plugins/svn/commit.py", line
> >                                 >         751, in commit
> >                                 >
> >                                 >             self.base_url,
> >                                 self.base_revnum, root_from,
> >                                 >         self.root_action)
> >                                 >
> >                                 >           File
> >
> "/Users/elberry/.bazaar/plugins/svn/commit.py", line
> >                                 >         583, in open_branch_editors
> >                                 >
> >
> ret.append(ret[-1].open_directory("/".join(elements),
> >                                 >         base_rev))
> >                                 >         SubversionException:
> >                                 ("'/svn/Corp/!
> >                                 >
> >
> svn/bc/70875/futurama/commons/codegen/trunk' path not found",
> >                                 >         160013)
> >                                 >
> >                                 >
> >                                 >         bzr 2.3.1 on python 2.6.1
> >                                 (Darwin-10.7.3-x86_64-i386-64bit)
> >                                 >
> >                                 >         arguments:
> >                                 ['/usr/local/bin/bzr', 'push',
> >                                 ':parent']
> >                                 >
> >                                 >
> >                                 >         encoding: 'UTF-8', fsenc:
> >                                 'utf-8', lang: 'en_US.UTF-8'
> >                                 >         plugins:
> >                                 >
> >                                 >         bash_completion
> >
>  /Library/Python/2.6/site-packages/bzrlib/plugins/bash_completion [2.3.1]
> >                                 >
> >                                 >         bzrtools
> >
> /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [2.3.1]
> >                                 >
> >                                 >         colo
> >
> /Library/Python/2.6/site-packages/bzrlib/plugins/colo [0.2.1]
> >                                 >
> >                                 >         email
> >
>  /Library/Python/2.6/site-packages/bzrlib/plugins/email [unknown]
> >                                 >
> >                                 >         explorer
> >
> /Library/Python/2.6/site-packages/bzrlib/plugins/explorer [1.1.2]
> >                                 >
> >                                 >         extmerge
> >
> /Library/Python/2.6/site-packages/bzrlib/plugins/extmerge [unknown]
> >                                 >
> >                                 >         fastimport
> >
> /Library/Python/2.6/site-packages/bzrlib/plugins/fastimport [0.10.0]
> >                                 >
> >                                 >         keychain
> >
> /Library/Python/2.6/site-packages/bzrlib/plugins/keychain [0.1.0]
> >                                 >
> >                                 >         launchpad
> >
>  /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [2.3.1]
> >                                 >
> >                                 >         loom
> >
> /Library/Python/2.6/site-packages/bzrlib/plugins/loom [2.2.1dev]
> >                                 >
> >                                 >
> >                                 netrc_credential_store
> /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store
> [2.3.1]
> >                                 >
> >                                 >         news_merge
> >
> /Library/Python/2.6/site-packages/bzrlib/plugins/news_merge [2.3.1]
> >                                 >
> >                                 >         pipeline
> >
> /Library/Python/2.6/site-packages/bzrlib/plugins/pipeline [1.1.0]
> >                                 >
> >                                 >         qbzr
> >
> /Library/Python/2.6/site-packages/bzrlib/plugins/qbzr [0.20.0]
> >                                 >
> >                                 >         rewrite
> >
>  /Library/Python/2.6/site-packages/bzrlib/plugins/rewrite [0.6.2]
> >                                 >           svn
> >                                  /Users/elberry/.bazaar/plugins/svn
> >                                 >         [1.1.0dev]
> >                                 >
> >                                 >         upload
> >
> /Library/Python/2.6/site-packages/bzrlib/plugins/upload [1.0.1dev]
> >                                 >
> >                                 >         xmloutput
> >
>  /Library/Python/2.6/site-packages/bzrlib/plugins/xmloutput [0.8.7.dev]
> >                                 >
> >                                 >         *** Bazaar has encountered
> >                                 an internal error.  This probably
> >                                 >         indicates a
> >                                 >             bug in Bazaar.  You can
> >                                 help us fix it by filing a bug
> >                                 >         report at
> >                                 >
> >                                 https://bugs.launchpad.net/bzr/+filebug
> >                                 >             including this traceback
> >                                 and a description of the problem.
> >                                 >         [/quote]
> >                                 >
> >                                 >
> >                                 >         I have never had these
> >                                 issues before using Bazaar over SVN.
> >                                 >         This is getting very
> >                                 frustrating.
> >                                 >
> >                                 >         I am using the trunk version
> >                                 of bzr-svn.
> >                                 >
> >                                 >         All I've done is:
> >                                 >         bzr branch
> >                                 http://[host]/[project]
> >                                 >         cd project
> >                                 >         ... change one file
> >                                 >         bzr ci -m "I changed one
> >                                 file"
> >                                 >         bzr push :parent
> >                                 >
> >                                 >         and I get this error.
> >                                 >
> >                                 >         Please, any help will be
> >                                 greatly appreciated. At this point I
> >                                 >         don't think I'll be able to
> >                                 use this tool anymore.
> >                                 >
> >                                 >
> >                                 >
> >                                 >         --
> >                                 >         Learn from the past. Live in
> >                                 the present. Plan for the future.
> >                                 >         Blog:
> >                                 http://eric-berry.blogspot.com
> >                                 >         jEdit <http://www.jedit.org>
> >                                 - Programmer's Text Editor
> >                                 >         Bazaar
> >                                 <http://bazaar.canonical.com> -
> >                                 Version Control for
> >                                 >         Humans
> >                                 >
> >                                 >
> >                                 >
> >                                 >
> >                                 > --
> >                                 > Learn from the past. Live in the
> >                                 present. Plan for the future.
> >                                 > Blog: http://eric-berry.blogspot.com
> >                                 > jEdit <http://www.jedit.org> -
> >                                 Programmer's Text Editor
> >                                 > Bazaar <http://bazaar.canonical.com>
> >                                 - Version Control for Humans
> >
> >
> >
> >
> >
> >                         --
> >                         Learn from the past. Live in the present. Plan
> >                         for the future.
> >                         Blog: http://eric-berry.blogspot.com
> >                         jEdit <http://www.jedit.org> - Programmer's
> >                         Text Editor
> >                         Bazaar <http://bazaar.canonical.com> - Version
> >                         Control for Humans
> >
> >
> >
> >
> >
> >                 --
> >
> >                 Learn from the past. Live in the present. Plan for the
> >                 future.
> >                 Blog: http://eric-berry.blogspot.com
> >                 jEdit <http://www.jedit.org> - Programmer's Text
> >                 Editor
> >                 Bazaar <http://bazaar.canonical.com> - Version Control
> >                 for Humans
> >
> >
> >
> >
> >
> >         --
> >
> >         Learn from the past. Live in the present. Plan for the future.
> >         Blog: http://eric-berry.blogspot.com
> >         jEdit <http://www.jedit.org> - Programmer's Text Editor
> >         Bazaar <http://bazaar.canonical.com> - Version Control for
> >         Humans
> >
> >
> >
> >
> > --
> > Learn from the past. Live in the present. Plan for the future.
> > Blog: http://eric-berry.blogspot.com
> > jEdit <http://www.jedit.org> - Programmer's Text Editor
> > Bazaar <http://bazaar.canonical.com> - Version Control for Humans
>
>


-- 
Learn from the past. Live in the present. Plan for the future.
Blog: http://eric-berry.blogspot.com
jEdit <http://www.jedit.org> - Programmer's Text Editor
Bazaar <http://bazaar.canonical.com> - Version Control for Humans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110503/9e67b057/attachment-0001.html>


More information about the bazaar mailing list