Hi, Ben.
Your solution is excellent! I've finally made it by the following
steps:
1. Create a bat file, which contains lines of commands:
svn propdel google:author file:///N:/svnroot2 --revprop -r 1
svn propdel google:author file:///N:/svnroot2 --revprop -r 2
svn propdel google:author file:///N:/svnroot2 --revprop -r 3
......
svn propdel google:author file:///N:/svnroot2 --revprop -r HEAD
2. Run this batch.
3. Re-run the svnsync sync to my new repository on Google Code
Hosting.
Now all filtered revisions are stored in my new remote repository.
Thanks a lot for all your help.
Btw, it do seems to be a bug that the google:author blocks svnsync,
however I'm not sure whether many users do a svnsync within Google
Code Hosting.
On Jan 16, 1:11 pm, Ben Collins-Sussman <[email protected]> wrote:
> I know what's going on -- it's a bug we just discovered, which I'm
> fixing this week.
>
> Specficially, whenever you do a commit to googlecode, the
> 'google:author' revision-property gets created by the server and
> attached to the newly committed revision. This revprop is not
> changeable, even by project owners.
>
> Your local file:/// repository contains google:author revprops, and so
> when svnsync attempts to replicate them into your *new* googlecode
> repository, the server is denying this action.
>
> The temporary workaround: remove all google:author revprops from your
> local repository, before doing the svnsync. Apologies for the
> inconvenience, this will be fixed soon!
>
>
>
> On Thu, Jan 15, 2009 at 10:10 PM, 宋一玮 <[email protected]> wrote:
> > Hi Ben,
>
> > This file:///N:/svnroot2 is filtered from
> >https://siv-name.googlecode.com/svn/.
>
> > I did the following:
>
> > Use svnsync init and svnsync sync to synchronize the
> >https://siv-name.googlecode.com/svn/with my local file:///N:/svnroot which
> > is just created.
> > Use svnadmin dump to dump the entire repository
> > from file:///N:/svnroot to a dumpfile, since the dump target can only be a
> > path instead of a URL.
> > Use svndumpfilter exclude to trim all histories and folders not related from
> > the dumpfile to a filtereddumpfile.
> > Import the filtereddumpfile to a new repository file:///N:/svnroot2.
> > Use svnsync init and svnsync sync to synchronize the
> >https://evis-blogenginedotnet.googlecode.com/svn/from my local
> > file:///N:/svnroot2.
>
> > Seems complex but it's really needed to do a filter.
>
> > Would you please give some comment? Thanks.
>
> > 2009/1/16 Ben Collins-Sussman <[email protected]>
>
> >> Song1w:
>
> >> Does the source repository (in file:///N:/svnroot2) originally come
> >> from googlecode as well?
>
> >> On Thu, Jan 15, 2009 at 9:18 PM, Song1w <[email protected]> wrote:
>
> >> > Dear Admin,
>
> >> > This issue is not solved yet, may I apply for another reset to this
> >> > repository(https://evis-blogenginedotnet.googlecode.com/svn/)?
>
> >> > I'll try again once it's reset. Thanks.
>
> >> > On Jan 8, 1:15 pm, Song1w <[email protected]> wrote:
> >> >> Hi Daniel,
>
> >> >> I re-did the sync operations and encountered another problem. Here is
> >> >> the console output.
>
> >> >> ====================================
> >> >> N:\>svnsync inithttps://evis-blogenginedotnet.googlecode.com/svn/
> >> >> file:///N:/svnroot2 --username EviSong
> >> >> Copied properties for revision 0 (syn:sync-* property ignored). (I
> >> >> am using an Chinese locale in SVN, the original output is: 从版本0
> >> >> (svn:sync-* 属性忽略)复制属性。)
>
> >> >> N:\>svnsync synchttps://evis-blogenginedotnet.googlecode.com/svn/--
> >> >> username EviSong
> >> >> Committed revision 1.
> >> >> Copied properties for revision 1.
> >> >> Committed revision 2.
> >> >> svnsync: DAV request failed; it's possible that the repository's pre-
> >> >> revprop-change hook either failed or is non-existent
> >> >> svnsync: At least one property change failed; repository is unchanged
>
> >> >> N:\>svnsync synchttps://evis-blogenginedotnet.googlecode.com/svn/--
> >> >> username EviSong
> >> >> svnsync: DAV request failed; it's possible that the repository's pre-
> >> >> revprop-change hook either failed or is non-existent
> >> >> svnsync: At least one property change failed; repository is
> >> >> unchanged
>
> >> >> N:\>svnsync synchttps://evis-blogenginedotnet.googlecode.com/svn/--
> >> >> username EviSong
> >> >> svnsync: DAV request failed; it's possible that the repository's pre-
> >> >> revprop-change hook either failed or is non-existent
> >> >> svnsync: At least one property change failed; repository is
> >> >> unchanged
>
> >> >> ....
> >> >> ====================================
>
> >> >> Seems not resulting from 502 errors this time.
>
> >> >> Any ideas about this error?
>
> >> >> Thanks a lot.
>
> >> >> Best regards,
> >> >> Song1w
>
> >> >> On Jan 8, 2:11 am, "Daniel O'Brien" <[email protected]> wrote:
>
> >> >> > Done. Normally you should be able to manually continue your sync
> >> >> > where
> >> >> > it left off when you receive an error such as this, so it may be
> >> >> > worth
> >> >> > attempting if you encounter errors again.
>
> >> >> > As for the 502 errors, it's something we're looking in to.
>
> >> >> > Daniel
>
> >> >> > On Jan 7, 7:57 am, Song1w <[email protected]> wrote:
>
> >> >> > > Dear Admin,
>
> >> >> > > This is a google code hosting user.
>
> >> >> > > I applied for a new project evis-blogenginedotnet.googlecode.com,
> >> >> > > and
> >> >> > > I was trying to sync it with my source code in another SVN
> >> >> > > repository
> >> >> > > (now in my local PC).
>
> >> >> > > According to "How do I import an existing Subversion repository"
> >> >> > > athttp://code.google.com/p/support/wiki/FAQ, I was about to kick
> >> >> > > off the
> >> >> > > sync, but unfortunately it stops at just rev. 3... Maybe due to
> >> >> > > some
> >> >> > > network problem. I think it's a similar problem with what is
> >> >> > > described
>
> >> >> > > inhttp://whynotwiki.com/How_I_moved_my_code_repository_to_Google_Code
> >> >> > > .
>
> >> >> > > Now may I ask for your kindly help to reset this repository? I'd
> >> >> > > like
> >> >> > > to have another try.
>
> >> >> > > Thanks a lot.
>
> >> >> > > P.S. I've sometimes got the 502 error when using google code
> >> >> > > hosting
> >> >> > > in P.R.China area. Any suggestions to avoid this?
>
> >> >> > > Best regards,
> >> >> > > Song1w
> >> >> > > 2009-1-7- Hide quoted text -
>
> >> >> > - Show quoted text -- Hide quoted text -
>
> >> >> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Hosting at Google Code" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-code-hosting?hl=en
-~----------~----~----~----~------~----~------~--~---