Checkin and checkout command

Advertisement

Guest

Checkin and checkout command

Im receiving an error message when trying to run a custom command for checkin /checkout of files

Reply with quote

Advertisement

grobyc17
Guest

Checkin/out error

Here's the error when I try to checkout the file
using the command co -u "!"

<invalid hyperlink removed by admin>

but in PuTTy the command ended successfully...

also in the when I try to checkin the file

<invalid hyperlink removed by admin>

please help me...
thank you so much in advanced

Reply with quote

martin
Site Admin
martin avatar

Re: checkin/out error

I belive that the command is actually executed correctly. Is it?

WinSCP just thinks that it has not, as the command prints message on error output. I may try to solve this in the next version.

Reply with quote

Advertisement

grobyc17
Guest

checkin/out error

yup, you're right...
i'm really looking forward on the next version...
thanks and keep up the good work!!!

Reply with quote

grobyc17
Guest

I've tried your resolution but I've got an error message:
"Host has not answered for more than 15 seconds. Still Waiting..."
...
[Abort]

Reply with quote

martin
Site Admin
martin avatar

Hmm, that's pity. Strangely it works for me, at least for simple commands. It may be also caused by different shell. I'm using bash.

Reply with quote

Advertisement

grobyc17
Guest

that's too bad for me... :(

maybe it's better to pop up
what the message show like in the putty
and let the user decide what should be done...

Ex:
in checking out file
co -l ufintXXX.sqr

putty message to win message box:

-----------------------------------------
|Check Out File |
-----------------------------------------
| ufintXXX.sqr,v --> ufintXXX.sqr |
| revision 1.1 (locked) |
| done |
| |
| [ OK ] |
-----------------------------------------
User interaction: click [ OK ]


in checking in file
ci -u ufintXXX.sqr

putty message to win message box
--------------------------------------------------------------
|Check Out File |
--------------------------------------------------------------
| |
|ufintXXX.sqr,v <-- ufintXXX.sqr |
|new revision: 1.2; previous revision: 1.1 |
|File ufintXXX.sqr is unchanged with respect to revision 1.1 |
|checkin anyway? |
| [ YES ] [ NO ] |
--------------------------------------------------------------


something like that....

thanks anyway...
grobyc17

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

You have so far never mentioned that the command may ask for anything. You cannot use such commands with WinSCP. You solution with "message box" is not feasible. WinSCP can hardly understand the meaning of what the command prints. So it cannot find the "question" in the text, nor know what answers (buttons) it may offer.

Does the "timeout" message show only for the commands that ask for something or does it show for any command?

Don't the "ci" command have some switch to override the "unchanged file" warning?

Reply with quote

Advertisement

You can post new topics in this forum