58171

Edit svn:externals with git svn

Question:

Is it possible to set svn:externals property using git svn propset?

I have successfully used git svn propset to set the svn:eol property. However, for svn:externals I am unsure if/how it can be done because svn:externals is a multi-line property, and I'm not sure if/how multiple lines of the property value may be expressed on the command line.

For svn:externals, it would be ideal if the git svn propset command had an --edit option, which would allow the property to be edited in the text editor (similar to editing commit text or git config).

I'm using git version 2.11.1 on Windows.

Answer1:

If you are using Git Bash, just enclose the argument in question in quotes like

git svn propset svn:externals "foo bar" baz/bam

Recommend

  • Simple Injector Prevent Locked Container
  • Mapping BigInteger in YAML file with PlayFramework
  • How to convert milliseconds to a date string?
  • Python Pandas Mixed Boolean Yes/True and NaN Columns
  • Java catching exceptions and subclases
  • WPF DataGrid lost focus after row delete
  • Do stored procedures have the ability to delete a file from the OS?
  • How do I control the soft menu button in Honeycomb?
  • Hudson dependencies
  • draw pie chart using iOS quartz 2D
  • send data back from jsp iterator to struts action class
  • Allocating a 2D contiguous array within a function
  • Slicing an SPA into several components and use AngularJS
  • Sequential (transactional) API calls in angular 4 with state management
  • How do I access an unhandled exception in an MVC Error view?
  • Make VS2015 use angular-cli ng at build time in a .NET project
  • Google Custom Search with transparent background
  • R - Combining Columns to String Based on Logical Match
  • Repeat a vertical line on every page in Report Builder / SSRS
  • Using $this when not in object context
  • Android screen density dpi vs ppi
  • Jenkins: How To Build multiple projects from a TFS repository?
  • Read text file and split every line in MSBuild
  • Fetching methods from BroadcastReceiver to update UI
  • How do I fake an specific browser client when using Java's Net library?
  • How reduce the height of an mschart by breaking up the y-axis
  • Bug in WPF DataGrid
  • JavaScriptCore crash on iOS9
  • Perl system calls when running as another user using sudo
  • vba code to select only visible cells in specific column except heading
  • Symfony2: How to get request parameter
  • Timeout for blocking function call, i.e., how to stop waiting for user input after X seconds?
  • Apache 2.4 - remove | delete | uninstall
  • Return words with double consecutive letters
  • GridView Sorting works once only
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • how to add data labels for bar graph in matlab
  • WPF Applying a trigger on binding failure
  • To Get the radio button value in ruby on rails
  • java string with new operator and a literal