In the first volume of the Thalerhof Concentration Camp Almanacs (Russian title: Талергофсiй альманахъ, пропамятная книга австрiйскихъ жестокостей, изуверстствъ и насилий надъ карпато - русскимъ народомъ во время Bceмiрной войны 1914 — 1917 гг., Выпускъ первый., Терроръ в Галичине въ первый перiодъ войны 1914 - 1915 гг.), on p. 13 I read the following text (partial translation, my emphasis):
[...] when countless armed German peasants came to Russian Galicia from Alpine regions of Austria and with a burning desire of brutal revanche towards the Russians for the year 1848 [...]
Full Russian text:
И поэтому то въ началЪ войны, когда на русскую Галичину надвинулись несмЪтныя толпы вооруженныхъ НЪмцевъ-крестьянъ изъ альпiйскихъ краевъ Австрiи и сгорающихъ желанiемъ жестокаго реванжа по отношенiю Русскихъ за 1848 годъ — Мадьяръ, въ высшей степени возбужденныхъ своей патрiотической и „украинской" прессой протнвъ „преступнаго москвофильства" русскаго Прикарпатья, какъ общаго и преобладающаго явленiя, — трудно было бы ожидать отъ свирЪпыхЪ пришельцевъ, чтобы они были въ, состоянiи, въ тЪхъ, конечно, случаяхъ, гдЪ "украинцы" почему-либо не могли непосредственно руководить терроромъ и влiять на него, — строго различать въ толщЪ нашего народа „москвофила" отъ ,,украинца"
What exactly did Russia do to Austria in 1848 to warrant the "burning desire of revenge" on the side of its (Austrian) troops?
In Wikipedia I read that some political changes occurred in Galicia (see below), but I fail to see what it has to do with Russia.
Galicia
The center of the Ukrainian national movement was in Galicia, which is today divided between Ukraine and Poland. On 19 April 1848, a group of representatives led by the Greek Catholic clergy launched a petition to the Austrian Emperor. It expressed wishes that in those regions of Galicia where the Ruthenian (Ukrainian) population represented majority, the Ukrainian language should be taught at schools and used to announce official decrees for the peasantry; local officials were expected to understand it and the Ruthenian clergy was to be equalized in their rights with the clergy of all other denominations.
On 2 May 1848, the Supreme Ruthenian (Ukrainian) Council was established. The Council (1848–1851) was headed by the Greek-Catholic Bishop Gregory Yakhimovich and consisted of 30 permanent members. Its main goal was the administrative division of Galicia into Western (Polish) and Eastern (Ruthenian/Ukrainian) parts within the borders of the Habsburg Empire, and formation of a separate region with a political self-governance.
I always thought that in 1848 Russia was Austrohungarian ally. The aforementioned Wikipedia article supports this view:
The Hungarian revolution of 1848 was the longest in Europe, crushed in August 1849 by Austrian and Russian armies.