It is currently 12 Sep 2025, 18:10
   
Text Size

i can't checkout cardsfolder (SVN troubles)

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

i can't checkout cardsfolder (SVN troubles)

Postby Braids » 29 Jun 2011, 00:23

i can't checkout anything containing the cardsfolder without SVN hanging. can anyone else run the following command with success?

Code: Select all
svn checkout https://cardforge.googlecode.com/svn/branches/braids-minimax/res/cardsfolder cardsfolder-test
you can just delete the cardsfolder-test directory afterward.

Edit 1: added code tags to make entire command visible.
Edit 2: fixed URL.
Last edited by Braids on 30 Jun 2011, 04:36, edited 1 time in total.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. ;)
User avatar
Braids
Programmer
 
Posts: 556
Joined: 22 Jun 2011, 00:39
Location: Unknown. Hobby: Driving myself and others to constructive madness.
Has thanked: 1 time
Been thanked: 1 time

Re: i can't checkout cardsfolder (SVN troubles)

Postby Rob Cashwalker » 29 Jun 2011, 00:53

No problem here... I use eclipse / subclipse...
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: i can't checkout cardsfolder (SVN troubles)

Postby Chris H. » 29 Jun 2011, 01:54

Braids wrote:i can't checkout anything containing the cardsfolder without SVN hanging. can anyone else run the following command with success?

Code: Select all
svn checkout https://cardforge.googlecode.com/svn/branch/braids-minimax/res/cardsfolder cardsfolder-test
you can just delete the cardsfolder-test directory afterward.

Edit 1: added code tags to make entire command visible.
`
Do you still need some help with this?

If so, should I just paste your command into my terminal window?
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: i can't checkout cardsfolder (SVN troubles)

Postby Braids » 29 Jun 2011, 02:03

if svn is in your PATH, then yes, i would appreciate it. overall, my svn performance has been abysmal whenever the cardsfolder is involved. this is not my day.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. ;)
User avatar
Braids
Programmer
 
Posts: 556
Joined: 22 Jun 2011, 00:39
Location: Unknown. Hobby: Driving myself and others to constructive madness.
Has thanked: 1 time
Been thanked: 1 time

Re: i can't checkout cardsfolder (SVN troubles)

Postby Chris H. » 29 Jun 2011, 02:07

Braids wrote:if svn is in your PATH, then yes, i would appreciate it. overall, my svn performance has been abysmal whenever the cardsfolder is involved. this is not my day.
`
My path is currently set to my home folder. How do I do a "cd" to set the path to the SVN? I apologize for not being good at this type of stuff.

I'm looking at the command file that I use for the Maven work. I can set the path to my local copy of the SVN project. Is this what you meant by saying

if svn is in your PATH
`
I set the path to my local copy and then pasted in your command and got the following:

Macintosh:~ chrish$ cd /Users/chrish/workspace/ForgeSVN/
Macintosh:ForgeSVN chrish$ svn checkout https://cardforge.googlecode.com/svn/br ... ardsfolder cardsfolder-test
svn: URL 'https://cardforge.googlecode.com/svn/branch/braids-minimax/res/cardsfolder' doesn't exist
Macintosh:ForgeSVN chrish$
`
Now that I think about it, my local copy is based on our original forge project and not your min-max test branch.

I guess that I could start a new local project using your min-max test branch and then try again. It looks like your branch would use:

https://cardforge.googlecode.com/svn/branches/braids-minimax/src/
`
Now that I think about it the command that you gave us uses "/svn/branch/" rather than "/svn/branches/".
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: i can't checkout cardsfolder (SVN troubles)

Postby Braids » 29 Jun 2011, 02:26

by PATH, i meant your PATH environment variable. that would be $PATH in unix. from what i can tell, svn is obviously in your PATH.

could you run cd /tmp first? if ForgeSVN is already a subversion working directory, it could make a mess.
also, i got the url wrong. please try this from /tmp:

Code: Select all
svn checkout https://cardforge.googlecode.com/svn/branches/braids-minimax/res/cardsfolder cardsfolder-test
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. ;)
User avatar
Braids
Programmer
 
Posts: 556
Joined: 22 Jun 2011, 00:39
Location: Unknown. Hobby: Driving myself and others to constructive madness.
Has thanked: 1 time
Been thanked: 1 time

Re: i can't checkout cardsfolder (SVN troubles)

Postby friarsol » 29 Jun 2011, 02:29

Braids wrote:by PATH, i meant your PATH environment variable. that would be $PATH in unix. from what i can tell, svn is obviously in your PATH.

could you run cd /tmp first? if ForgeSVN is already a subversion working directory, it could make a mess.
also, i got the url wrong. please try this from /tmp:

Code: Select all
svn checkout https://cardforge.googlecode.com/svn/branches/braids-minimax/res/cardsfolder cardsfolder-test
I just tested this, and while it definitely took a few seconds to get started, it's off and downloading txt files all over the place.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: i can't checkout cardsfolder (SVN troubles)

Postby Braids » 29 Jun 2011, 02:32

yeah, but it hangs at the end for me... right after wall_of_ . . . i can't remember. it was a wall of something.
right after wall_hope_hope.txt . thanks, Sol!
Last edited by Braids on 30 Jun 2011, 04:38, edited 1 time in total.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. ;)
User avatar
Braids
Programmer
 
Posts: 556
Joined: 22 Jun 2011, 00:39
Location: Unknown. Hobby: Driving myself and others to constructive madness.
Has thanked: 1 time
Been thanked: 1 time

Re: i can't checkout cardsfolder (SVN troubles)

Postby friarsol » 29 Jun 2011, 02:36

Braids wrote:yeah, but it hangs at the end for me... right after wall_of_ . . . i can't remember. it was a wall of something.
Ah. Wall of Hope. Yea it just stopped.

Edit: After I killed the command, and re-ran it, it took a few seconds (without downloading anything) but said I had the whole revision. Maybe it was dying when doing a checksum on the whole changelist?
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: i can't checkout cardsfolder (SVN troubles)

Postby Braids » 29 Jun 2011, 02:40

Sol, what does your svn --version say? mine is 1.6.17 (r1128011).

if you checkout finishes, or if you get tired of waiting for it, please let me know. thanks!

Edit 1: Wall of Hope . . . how apt. i HOPE this checkout stops freezing.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. ;)
User avatar
Braids
Programmer
 
Posts: 556
Joined: 22 Jun 2011, 00:39
Location: Unknown. Hobby: Driving myself and others to constructive madness.
Has thanked: 1 time
Been thanked: 1 time

Re: i can't checkout cardsfolder (SVN troubles)

Postby friarsol » 29 Jun 2011, 02:43

1.6.9 (x64 if that matters). I use SlikSVN on Win 7.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: i can't checkout cardsfolder (SVN troubles)

Postby Chris H. » 29 Jun 2011, 02:48

It is starting to get a little late where I live. I will read up on any additional details that the two of you post here in reference to your attempts to checkout the braids-minimax branch tomorrow.
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: i can't checkout cardsfolder (SVN troubles)

Postby slapshot5 » 29 Jun 2011, 02:51

could this be because Wall of Hope doesn't have a newline character at the end of it?

Do a 'cat -e wall_of_hope.txt' to see.

Seems like it's got all the files though, right?

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: i can't checkout cardsfolder (SVN troubles)

Postby friarsol » 29 Jun 2011, 02:53

slapshot5 wrote:could this be because Wall of Hope doesn't have a newline character at the end of it?

Do a 'cat -e wall_of_hope.txt' to see.

Seems like it's got all the files though, right?

-slapshot5
Lots of cards don't end with a newline. I think anything that runs through the setInfoScript has a trailing newline specifically stripped out.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: i can't checkout cardsfolder (SVN troubles)

Postby slapshot5 » 29 Jun 2011, 02:57

. Corrupt was immediately before Wall of Hope in my checkout, and it had a newline at the end. I would guess that went through the SetInfo script.
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Next

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 45 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 45 users online :: 0 registered, 0 hidden and 45 guests (based on users active over the past 10 minutes)
Most users ever online was 7967 on 09 Sep 2025, 23:08

Users browsing this forum: No registered users and 45 guests

Login Form