reposurgeon

How do I remove an SVN tag completely that contains spaces?

丶灬走出姿态 提交于 2020-01-10 05:37:25
问题 I tried to clean up the svn repository and remove a tag that contains a space, so all tags and branches are git conform: PROJECT=myproject svnrepo=svn+ssh://rubo77@myserver.de/var/svn-repos/$PROJECT svn rm "$svnrepo/tags/version 3.6.2" but it seems, that doesn't do the job here: How do I convert an svn repo to git using reposurgeon? How do I remove it entirely? 回答1: You have to supply commit log message when you use svn rm to delete the file in remote repository. When doing delete, rename,

How to replace existing Python class methods of (or otherwise extend) RepoSurgeon by means of 'exec' and 'eval'?

若如初见. 提交于 2019-12-12 02:02:55
问题 The documentation (at the time of this writing) on the topic is scarce. How can I extend reposurgeon functionality if the use of macros ( define ) isn't sufficient for my purposes? The only clues it gives is that: The code has full access to all internal data structures. Functions defined are accessible to later eval calls. But what does that even mean? We also learn that: Typically this will be a call to a function defined by a previous exec. The variables _repository and _selection will

Reposurgeon gives me a SyntaxError when using exec, why?

孤街醉人 提交于 2019-12-11 11:03:50
问题 Using reposurgeon and trying to extend its functionality, I am faced with: reposurgeon: invalid syntax in extension function which translates to a SyntaxError extension raised from the execfile() call in RepoSurgeon.do_exec() . What gives? The code I am trying to exec is as simple as: print "Hello world" I have also used the Python CLI and execfile and there are no complaints whatsoever? Used version: reposurgeon 3.10 回答1: This one took me a while to figure out, which is why I am posting it

How do I remove an SVN tag completely that contains spaces?

妖精的绣舞 提交于 2019-11-29 15:38:27
I tried to clean up the svn repository and remove a tag that contains a space, so all tags and branches are git conform: PROJECT=myproject svnrepo=svn+ssh://rubo77@myserver.de/var/svn-repos/$PROJECT svn rm "$svnrepo/tags/version 3.6.2" but it seems, that doesn't do the job here: How do I convert an svn repo to git using reposurgeon? How do I remove it entirely? bahrep You have to supply commit log message when you use svn rm to delete the file in remote repository. When doing delete, rename, copy etc via URL, the action results into immediate commit, i.e. new revision in SVN repository which

Convert an SVN repository to git with reposurgeon without creating .gitignore files?

ⅰ亾dé卋堺 提交于 2019-11-29 12:09:25
I used reposurgeon to convert my svn into a git repository here: ( How do I convert an svn repo to git using reposurgeon? ). The problem is, that the converted tags are shown in the log at the place when I created the tag and not at the place of the revision they belong to. In SVN they are shown at the right place in the log where they belong, no matter how long later I created them. It seems like this has to do something with that reposurgeon adds a commit for .gitignore in each tag that looks like this: # A simulation of Subversion default ignores, generated by reposurgeon. *.o *.lo ... *

How do I convert an svn repo to git using reposurgeon?

隐身守侯 提交于 2019-11-28 08:53:00
问题 Can you give an example, how I add the path to my old svn and create a git folder from it, that contains the whole history and all branches/tags? I found this site is this worth a try? It uses svnpull , which is not on my system can I use repopuller instead? I installed reposurgeon with apt-get install --no-install-recommends xmlto asciidoc unp wget http://www.catb.org/~esr/reposurgeon/reposurgeon-3.7.tar.gz unp reposurgeon-3.7.tar.gz cd reposurgeon-3.7 make make install (I would install

Convert an SVN repository to git with reposurgeon without creating .gitignore files?

旧街凉风 提交于 2019-11-28 05:32:02
问题 I used reposurgeon to convert my svn into a git repository here: (How do I convert an svn repo to git using reposurgeon?). The problem is, that the converted tags are shown in the log at the place when I created the tag and not at the place of the revision they belong to. In SVN they are shown at the right place in the log where they belong, no matter how long later I created them. It seems like this has to do something with that reposurgeon adds a commit for .gitignore in each tag that looks