On Fri, 16 Nov 2012, Mario wrote:
I meant something like the following:
git mv folder1/filename1 filename2
and in the same moment have changes in the code like:
import folder1.filename1 --> import filename2
from folder1 import filename1 --> import filename2
import filename1 --> import filename2
Ok, I see. It depends a lot on your way of coding, ie. IDE, Vim, shell, etc.
I thought of a combination of IDE and git, but now will search for an IDE
which is able to solve my problem. Do you know any by accident? Currently I
am using PyDev in eclipse but have no idea how to make it track path and
name changes for the imports.
I do such things on Vim this way: