[git-users] svn to git question

2012-07-18 Thread Gabby Romano
Hi - I would like to move from svn to git. i would like to start from a certain branch on svn and look back on trunk 1 year or so and start the import from there. I am using git-svn tool. the thing is that when I did that, I ended up with having only partial history in git and not all the way ba

[git-users] Re: svn to git question

2012-07-18 Thread Thomas Ferris Nicolaisen
On Wednesday, July 18, 2012 3:47:14 PM UTC+2, Gabby Romano wrote: > > Hi - I would like to move from svn to git. i would like to start from a > certain branch on svn and look back on trunk 1 year or so and start the > import from there. > I am using git-svn tool. the thing is that when I did that

[git-users] git stash can't handle symlink to dir

2012-07-18 Thread rich42
git stash does not seem to handle symlinks to dirs. here is a simple demo: $ ls dir1 f1 $ rm -rf dir1;ln -s dir2 dir1;git stash error: 'dir1/f1' is beyond a symbolic link fatal: Unable to process path dir1/f1 Cannot save the current worktree state Is this a known issue? Is there a way around it?

[git-users] diff on ubuntu 12.04

2012-07-18 Thread Bart Baker
Hello, I apologize if this is a repeat post, but I haven't been able to find this issue referenced. I'm running git on Ubuntu 12.04. Most of the commands work fine, but I'm having trouble with git diff displaying any output. If I run: $ git diff $ on a repo that definitely has changes, I do not

Re: [git-users] diff on ubuntu 12.04

2012-07-18 Thread Konstantin Khomoutov
On Wed, Jul 18, 2012 at 04:10:19PM -0700, Bart Baker wrote: > I apologize if this is a repeat post, but I haven't been able to find this > issue referenced. I'm running git on Ubuntu 12.04. Most of the commands work > fine, but I'm having trouble with git diff displaying any output. If I run: > >

[git-users] Creating an initial git repository

2012-07-18 Thread PeterSteele
We're starting a new project and will be using git for our source code management system. We're all previous SVN users and have not used git before. I'm sure this question has been asked many times before and I apologize for asking it again: What is the convention for setting up a new project i

Re: [git-users] Re: svn to git question

2012-07-18 Thread Gabby Romano
first I used the regular git svn clone command - git svn clone . then tried with -r:HEAD but that didn't work for me either. probably tried a few more options but to no avail. I am sure git knows how to "follow" the history despite the branching but didn't find the right way to do it. On Wed, Jul

Re: [git-users] Re: svn to git question

2012-07-18 Thread Thomas Ferris Nicolaisen
Note that git-svn will not follow history outside the paths you specify for it. I believe it is restricted to a trunk and branches in a set location. If at some point, the whole trunk/branches/tags was moved to a different place in the repository, you have to splice together two git-svn clones t

[git-users] Re: Creating an initial git repository

2012-07-18 Thread Thomas Ferris Nicolaisen
On Thursday, July 19, 2012 6:14:17 AM UTC+2, PeterSteele wrote: > > We're starting a new project and will be using git for our source code > management system. We're all previous SVN users and have not used git > before. I'm sure this question has been asked many times before and I > apologize f

Re: [git-users] Re: svn to git question

2012-07-18 Thread Gabby Romano
Thanks Tomas. my svn structure is trunk/branches/tags based, although I don't need it like that in git. lets say I am pulling from https://svn.isr.hp.com/rg0202/alm/horizon/trunk(since I need only trunk's history and not all other branches). that gives me history only as far as May 2012, when th