Re: git-svn throwing assertion on old svn tracking branch
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- Dec 21, 2006, 01:05 UTC
- Message-ID
- <20061221010520.GB3901@localdomain>
- In-Reply-To
- <20061220235551.GA2974@hermes.lan.home.vilz.de>
Nicolas Vilz <niv@iaglans.de> wrote:
Show 12 quoted lines
> hello guys, > > it has been a while, i tried git in conjunction with svn... i got a nice > history, when working with it. This Work is now a year old. > > Now I wanted to get on working and got following error message while > fetching from one specific svn tracking branch: > > $ git-svn fetch -i svn_master > perl: subversion/libsvn_subr/path.c:343: svn_path_remove_component: > Assertion `is_canonical(path->data, path->len)' failed. > Aborted
I don't recall seeing that error before.
Are you using the command-line client or the perl SVN libraries? If you're using the command-line client, you may want to try: rm -rf .git/svn/svn_master/tree && git-svn rebuild -i svn_master
> I checked the svn working copy, it is uptodate now (although i had to > search for it, i havent been using this repository for one year...)
Does the directory you're tracking the the repository still exist? If it disappeared, git-svn could have some issues with it (regardless of command-line or SVN libraries).