Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to open external diff tool? #36

Open
markusstephanides opened this issue Feb 4, 2022 · 1 comment
Open

How to open external diff tool? #36

markusstephanides opened this issue Feb 4, 2022 · 1 comment

Comments

@markusstephanides
Copy link

Hi,

I would like to implement the functionality that the svn command

svn diff --diff-cmd "<PATH TO TOOL>" somefile.txt

executes using SharpSvn.

I have seen the various Diff functions but since they output a stream which is not what I want, I'm not very sure which one to use and with which arguments.

Thanks for any help!

@rhuijben
Copy link
Member

The thing Subversion does in this case is obtaining the two versions of the file to call the tool on. You can use SvnClient.Write (aka svn cat) for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants