SVN Push Help.

Jelmer Vernooij jelmer at samba.org
Mon May 2 21:53:35 UTC 2011


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110502/a85bcc50/attachment-0001.pgp>


More information about the bazaar mailing list