• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Subclipse Patch options??

 
Ranch Hand
Posts: 193
Mac OS X Fedora Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When applying a patch in the Subclipse plugin in Eclipse IDE, I have to finish a wizard in order to apply the patch. In the last dialog, which is the "Review Path" dialog, I saw some Patch options that I am not really familiar with, (actually have no idea what they mean) they are:

- Ignore leading path name segments [0, 1]
- maximum fuzz factor [default to 2]
- Reverse patch
- Show Excluded
- Generate a .rej file for unmerged hunks

Can anybody explain the meanings and uses for this options?

Eclipse 3.3.0
Subclipse: svn client 1.4.2

Thanks
 
Jiafan Zhou
Ranch Hand
Posts: 193
Mac OS X Fedora Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anybody?
 
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmm, I found some stuff in Eclipse Help:

Originally posted by Jiafan Zhou:

- Ignore leading path name segments [0, 1]
- maximum fuzz factor [default to 2]
- Reverse patch
- Show Excluded
- Generate a .rej file for unmerged hunks

Can anybody explain the meanings and uses for this options?

Thanks



* If a common prefix of the path names stored in the patch file doesn't match the path names in you current workspace, you can Ignore leading path name segments.

* Adjust the Fuzz factor (patch terminology). This factor indicates the amount of hunk context lines to ignore. The default value is zero, which means that all lines need to match. For the fuzz factor equal one it's the first and last line of context. Press the Guess to calculate the fuzz factor that will allow the most hunks to be matched.

* Use the Reverse patch option for patch files that already have been applied to your workspace. This option is also useful to undo or redo a patch.

For Workspace patches, you can select another project in your workspace to apply the patch changes to. To do this, select a project in the top pane and select Move from the context menu. This will launch a dialog with a list of all available projects in your workspace. Select a project and click OK; the patch changes will be applied to your selected project.

* Use the Show Excluded option to show the hunks which you have already selected to not include in the patch.
 
Attractive, successful people love this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic