Using git-svn with Symfony2's deps installer

I work a lot with Symfony2's deps file for installing 3rd party bundles into my project (yeah I know, I should be using Composer, right?). This works really well when working with pure Git. However, when you're not using Git on it's own but instead use git-svn, you may run into some issues when issuing git svn dcommit, such as:

2d35d2c11c4cfdf66e09ca216b5f8896f8f04af5 doesn't exist in the repository at /usr/libexec/git-core/git-svn line 4817
Failed to read object 2d35d2c11c4cfdf66e09ca216b5f8896f8f04af5 at /usr/libexec/git-core/git-svn line 595
    
This appears to be due to the fact that there are git repositories inside the git repository, which git doesn't mind but Subversion does.

Googling around a bit, I found the solution which I'm going to share here with you. It involves a couple of steps.

  • Remove the .git directories from the external bundles
  • Run
    git filter-branch --index-filter 'git rm -r -f --cached --ignore-unmatch vendor/bundles/Liip/MonitorBundle' -f
    on each of the external bundle directories where you removed the .git directory. This command needs to be run from the root of your git project!
  • Git svn dcommit your changes again
Now it should all work again.

Some links I used while researching this are:


Add comment

Comments

gravatar glutathione whitening pills: they showed that the levels of free radicals correlated with the activity of the hepatitis. if you are thinking of trying the effects of genf20 plus, i would suggest that you try the six-month or even the five-month option. obviously, the liver is important to us. jiaogulan called the immortality or miracle herb
February 28, 2013
gravatar Fax Number Heartland Payment Systems: a lot of waste is produced in the office, and in many cases, people would be able to make changes to reduce their impact on the environment. the provider may ask you to place something after the fax number, for example @rcfax.com. 20.1 and more with websites like efax, maxemail, or myfax you can pay a monthly fee to send and receive faxes. however, there are certain requirements that you will have to meet before applying for this loan. as for receiving online fax messages, it's still the same as email. while businesses may want to be "greener," they may worry that they can't really afford to. internet is a great place to search and also check the better business bureau.
March 11, 2013
gravatar Unemployment Claims San Francisco: it is an open secret that it is not easy for women in russia to aim for career in a male dominant society. 90 percent of jobs in russia are only advertised for male russians. in early days career and profession were only considered as a concern for men in russia but with stronger inclination towards western culture. and also because of economical crisis single russian women or rather women in russia went into business. it is therefore an economic situation which motivates single russian women to work most of all, though there is very less career opportunity for them to choose from. moreover, if women get a job in russia, employer tends to pay them less which does not ensure good living standards. many offices and departments under the aegis of the government have come up which are using computers. making software programs and dealing with the hardware section of these computers is a common thing. experts and skilled workers in the computer and applications field are being recruited who can look after these functions. the loan providers, however, will first of all have a closer look at your credentials for the loan. the jobless people should ascertain their repayment ability for an amount through essential documents. your credit report will be evaluated by the lenders. so, you should make it sure that the report does not have any mistake in it prior to you apply to a lender. besides newspapers classifieds, nowadays you can also visit free classified websites like www.khojle.in in order to find out the products like property, used mobiles, cars, freelance jobs, part time jobs, bpo jobs etc in delhi, mumbai, kolkata, and hyderabad to all over india. let's discuss a deal where the organization has vacancies for part time employees who can also work from home as the legit data entry operators. the monthly salary can go up to rs. 30,000/- with bi-weekly payment advantage. there are a lot of facilities wanting to use dental hygienists since of the growing will need for competent oral healthcare professionals. in truth, this occupation is increasing a lot quicker than the average occupation because of a range of variables, chiefly among them getting the escalating consciousness for preventive oral processes. there are several investigation papers that stage to the connection among a great oral wellbeing and basic well-being, explanation why there are a ton of persons who are extra aware of taking care of their teeth and gums.
May 15, 2013
gravatar Federal Government Jobs Work Gainesville Fl: dte energy jobs - jobs in cities/thumb, mi. dte energy jobs; dte energy jobs for veterans; dte energy jobs in michigan; dte energy jobs in detroit; dte energy jobs in ann arbor ; dte energy jobs in engineering
May 17, 2013

Php5_zce_logo

Tags

1337 2008 2010 2011 4developers access modifiers accessibility AdaLovelaceDay09 advent agavi agile alfred amsterdam amsterdamphp apache api apple article articles atk atkMetaNode audioscrobbler autoloading automation azure backwards compatibility barcelona barcodes bash bbc bbq beatstad belgium best practices bittorrent blogging blogs boards of canada book books bughuntday bundle caching cake cal evans calendar career cat cerf certificate cfp cilex clear cms cologne common sense communities community components composer conference conferences contest continuous integration contribute contribution crisis css curl custom d-day data migration datetime DbFinderPlugin decorator decorators deployment deps devdays development directoryindex directoryiterator docblox doctrine doctrine2 documentation download dpc dpc09 dpc10 dpc11 DPC2008 dreamhost drupal dv7 eclipse ed editors efficiency enterprise errors event events expertise ezcomponents facebook filter-branch filteriterator finland flickr fork framework frameworks free ticket freelance freeze frontend fun game games geoip germany getting real git github globiterator gnome-do google google calendar googletalk graceful degradation hack hackers hidden gem hiphop howto hp HR html http i386 ibuildings icann ide ideasofmarch idm imovie inclusivity indy ingewikkeld integration international php conference internet interview ipad IPC ipc ipc08 ipc10 ipc11se iterators iterm2 javascript jenkins jenkins-php job job openings jobeet john peel joomla joomladays kiva kubuntu launcher launchy left on the web libcurl libraries library lighttpd lime linktuesday linux live london loudblog m2ts mac magazines malware mambo manchester marjolein mediterra meeting meme meta methodology micro-financing microframework microsoft migration movie music mysql namespace namespaces netbeans netherlands newsfire nllgg northeastphp nos odmarco open source opinion ORM osx paradiso paris partnership pavilion pear pecl performance personal pfc10 pfc11 pfcongres pfcongrez pfz pfz.nl photo php PHP php5.3 phpabstract phpazure phpBB phpbb phpbelgium phpbenelux phpbnl10 phpday phpdoc phpdocumentor phpgg phpitalia phpnw phpnw08 phpnw11 phpnw12 phpstorm phptek phptek09 phpuk2009 phpUnderControl phpunit php|architect php|tek podcast politics portability postcrossing presentation presentations private projects protected prototype PSR-0 public python qa qr codes re2c recruiting refactoring review rewrite ruby on rails san francisco schedule scifi script security sensio seven things sexism sfdaycgn sflive2011 shell scripting silex simplexml slides smfony software sogeti solar sound speakers spl ssh standard standards star trek static steer strings stylesheets subversion symfony symfony live symfony2 Symfony2 symfonycamp symfonyday symfonylive symfonyUnderControlPlugin talk talks tech techademy technology techportal tek09 telecommuting terratec terrorism testfest testing textmate textpattern the right tool timeout tips tld todo tomas tools training twig uncon unet usability usergroup validation vhost video vim vinyl virus warp webinar weblogging webservices wiki windows winphp women wordpress work workshop world world of warcraft wpi writing wunderlist xml xpath xsd yara year youtube zc11 ZCE zemanta zend zend framework zend server zend studio zendcon Zend_Form zite
© 2004 - 2013 Stefan Koopmanschap + Powered by Symfony, photos powered by Flickr, links powered by Delicious, Shanghai smilies by Iconbuffet. Feeds: rss / atom. Left on the Web v4.4.0.1