I am trying to create a patch from one directory and apply that patch to the different directory, provided both the directory contains same files.
For Example: Consider, the repo-1 /local/mnt/workspace/New_version/sample_dir/ contains File1, File2 and File3.
Consider, repo-2 /local/mnt/workspace/old_version/ contains same set of files mentioned in repo-1.
Now, I am trying to create a patch set from repo-1 and trying to apply it on the repo-2, which throws error due to path conflicts.
Is there any possible way to meet my requirement? Please help !