liyanage / git-tools Goto Github PK
View Code? Open in Web Editor NEWSome Git utility scripts. The most useful one is "githelper", which is documented on the project website.
Home Page: http://liyanage.github.io/git-tools/
Some Git utility scripts. The most useful one is "githelper", which is documented on the project website.
Home Page: http://liyanage.github.io/git-tools/
In git-svn-clone-externals.rb, function process_externals(): need to call update_exclude_file_with_paths() with an array, not a string. Change is on line 129:
- update_exclude_file_with_paths(dir)
Without this change, update_exclude_file_with_paths() fails when it tries to call the "each" Array method (since "dir" is a String, not an Array).
I already have some large git repositories created with git svn clone which miss some externals. It would be nice to have a command to populate the externals for these repositories after the fact, i.e. into the existing git repository.
Currently preflight_externals will break on chdir if it is given a path to a file and not to a directory, but it is possible to add the svn extern property to single file
https://www.kernel.org/pub/software/scm/git/docs/git-svn.html
git svn can track a standard Subversion repository, following the common "trunk/branches/tags" layout, with the --stdlayout option.
git svn clone --stdlayout url
I'm stuck on "Error: Found external(s) pegged to fixed revision" when having a svn:external fixed on a specific revision. It would be great to support that case (which is a pretty common case), or at least to ignore this svn:external and throw a warning when git-svn-clone-externals.rb has finished his job.
I run "gh clone-externals ",
but git log does not show anything.
that is, gh clone-externals does not load all the git history,
such as using git --depth=1.
why is that?
how to ask gh to get all the git history?
Hi
When trying to update the externals I get the following error:
Error: The svn:externals URL for '/home/fgu/tmp/svn-git/lib/vendor/symfony' is defined as
http://svn.symfony-project.com/branches/1.4/
but the existing Git working copy in that directory is configured as
http://svn.symfony-project.com/branches/1.4
I used the perl script. I guess the script should ignore whether there is a trailing / or not, right?
Regards
MonsieurBon
Currently it does the switch-to-master and back thing and probably tries to run git svn rebase. It should check if a git sandbox is really a git-svn sandbox and skip it if not.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.