SVN Push Help.
Eric Berry
elberry at gmail.com
Fri Apr 29 17:14:11 UTC 2011
I think I'm going to have to assume that at this point that this is not
going to work, and I'm not going to be able to save the history with my
split projects. I think the only way to save it would be to copy the main
project into the new trunks and redoing all the restructuring by deletes and
renames. Unfortunately this took me a few days to do the first time with the
split command, and I don't have that long to do it again.
Thanks.
Eric
On Thu, Apr 28, 2011 at 6:36 PM, Eric Berry <elberry at gmail.com> wrote:
> Hi Jelmer,
> I was using the latest one that came with the Mac installer, but I just
> tried it with the trunk (bzr branch lp:bzr-svn svn) and I get this error:
> [quote]
> bzr: ERROR: subvertpy.SubversionException:
> ("'/svn/Corp/!svn/wrk/d6a6100c-2381-40a5-b427-c75ec31b8538/futurama/common/monitoring/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 398, in
> push_branch
> overwrite=overwrite)
> File "/Users/elberry/.bazaar/plugins/svn/remote.py", line 329, in
> import_branch
> stop_revision, push_metadata=True, overwrite=overwrite)
> File "/Users/elberry/.bazaar/plugins/svn/push.py", line 555, in
> push_new_branch
> root_action=("create", ))
> 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 761, in commit
> self.base_url, self.base_revnum, root_from, self.root_action)
> File "/Users/elberry/.bazaar/plugins/svn/commit.py", line 585, in
> open_branch_editors
> ret[-1].delete_entry(name, max(base_rev, root_action[1]))
> SubversionException:
> ("'/svn/Corp/!svn/wrk/d6a6100c-2381-40a5-b427-c75ec31b8538/futurama/common/monitoring/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', '
> https://my.hostname.com/svn/Corp/futurama/common/monitoring/trunk']
> 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]
>
> Is there more info I can get for you?
>
> Note that I used 'bzr split' to break out the sub projects, and it's those
> split projects that I'm trying to push up to new trunks. Should this work?
>
> Thanks,
> Eric
>
>
> On Thu, Apr 28, 2011 at 6:04 PM, Jelmer Vernooij <jelmer at samba.org> wrote:
>
>> On Thu, 2011-04-28 at 17:54 -0700, Eric Berry wrote:
>> > Hi Jelmer,
>> > Yes it does. Just 'trunk' doesn't exist, but I was hoping I could
>> > push to trunk and have it created.
>> What version of bzr-svn are you using? Push has improved significantly
>> recently, so if you're not running trunk yet you might want to give it a
>> try. If you already are, I'd be very interested in a bug report.
>>
>> Cheers,
>>
>> Jelmer
>>
>>
--
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/20110429/d9046370/attachment-0001.html>
More information about the bazaar
mailing list