Unable to checkout a particular SVN revision

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to clone a specific SVN revision with git-svn:

    git svn clone -r 12345 https://host/svn/foo/branches/bar xyz

but it doesn't check out any files, I see just this:

    Initialized empty Git repository in /Users/liyanage/Desktop/xyz/.git

If I try the same thing with SVN like this:

    svn co -r 12345 https://host/svn/foo/branches/bar xyz
    
then I get what I expect, it checks out all the files and "svn info" gives me this revision.


I think it's because this particular revision wasn't committed on this branch, i.e. it doesn't show up in "svn log". If I try a revision that is listed in the log, it works as expected.


Is there a way to make this work?
    



--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]