Dec 21, 2016

cherrypicking with TortoiseSVN (subversion)

Now I have to work again with Subversion (TortioseSVN on Windows) as VCS system.

To get only the changes of one specific revision to a different branch, the keyword for searching
is cherry picking.

TortoiseSVN supports the create and apply a patch, but creating a patch only works on the current
working copy - before the commit.

When you want to have a patch from one specific revision, you can

  • show the log
  • mark a/the revision(s) you like to have in the patch
  • Show as unified diff 

  • This displays a window with the changes in a unified diff format. 
  • In the Files-Menu, you can select "Apply Patch...", which opens a
    directory selection dialog, where to apply the patch.

  • the following window allows you to selected the each or all files to apply

REST-Testing with Postman and using response data for next request

Currently, I'm using Postman to run Request against an OData endpoint.

For calling some request, some HTTP-Headers must be present from the authentication.
Till now, I used the stored request variables in the form {{variable}}.

The new values are manually stored in the Environment, which is selected to execute the requests.

and in the stored request, just references to the variables are made:

But this is a manual task, so automation would be the next step.

After asking Google for help, I found this link:

Adding Tests in the request part (upper part in postman) to the first request let's see in a quick overview if everything went well.
It allows setting environment and global variable, which can be referenced as before in the upcoming request.

After executing the request, you can see the result of the 'tests' in the response part (lower part in postman):

After the execution, the variables are set with postman.setGlobalVariable and all further request
using this variable can be executed without any manual intervention.
If you have the variables set somewhere else, they might be overwritten, so be careful and delete them from the environment.