Re: [git-users] Track changing imports when using git mv on Python project

2012-11-16 Thread Mario
@ Iñigo: 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 @ Peter: I t

Re: [git-users] Track changing imports when using git mv on Python project

2012-11-16 Thread PJ Weisberg
On Fri, Nov 16, 2012 at 3:13 PM, Mario wrote: > I am currently totally rearranging a python project, which mainly means > changing file names and moving folders and files. Therefore I user git mv > and changes go very fast. Unfortunately I have to fix all the hanged > imports, which is really a lo

Re: [git-users] Track changing imports when using git mv on Python project

2012-11-16 Thread Iñigo Medina
I'm not sure I understand this right. Do you mean change the references to imports on python files or git references? iñ On Fri, 16 Nov 2012, Mario wrote: I am currently totally rearranging a python project, which mainly means changing file names and moving folders and files. Therefore I use

[git-users] Track changing imports when using git mv on Python project

2012-11-16 Thread Mario
I am currently totally rearranging a python project, which mainly means changing file names and moving folders and files. Therefore I user git mv and changes go very fast. Unfortunately I have to fix all the hanged imports, which is really a lot when having more than 100 files. Is there any pos

Re: [git-users] Error while pushing Git repository to Github

2012-11-16 Thread Iñigo Medina
On Fri, 16 Nov 2012, Konstantin Khomoutov wrote: On Fri, Nov 16, 2012 at 12:05:58PM +0530, Ankita Poovaiah wrote: I have created ssh keys. While trying to push git repository to github it is showing this error "git push -u origin master fatal: unable to connect to github.com: github.com: Serv

Re: [git-users] Error while pushing Git repository to Github

2012-11-16 Thread Konstantin Khomoutov
On Fri, Nov 16, 2012 at 12:05:58PM +0530, Ankita Poovaiah wrote: > >> I have created ssh keys. While trying to push git repository to github it > >> is showing this error "git push -u origin master > >> fatal: unable to connect to github.com: > >> github.com: Servname not supported for ai_socktype