Mailinglist Archive: yast-devel (50 mails)

< Previous Next >
[yast-devel] Moving Clients to 'lib' && Keeping the History

You probably remember that Martin has moved code from installation
clients from src/clients to src/lib/installation/clients recently,
unfortunately this move has removed all the history from those new files

I've found a way how to move the content and still keep the history
[#3][#4], this is what I did:

1. Moved files from scr/clients to lib/users/clients with `git mv`
2. Pushed this change as a separate commit to my repo
3. Added new clients to scr/clients calling lib/users/clients/*
4. Adapted in src to rake (take) care about libs
5. Pushed again

The trick was to persuade git that I have just moved files from one
location to another. I've probably discovered America today, but it
still might be helpful to you :)




Lukas Ocilka, Systems Management (Yast) Team Leader
SLE Department, SUSE Linux
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups