code-google-com / editra-plugins

Automatically exported from code.google.com/p/editra-plugins
0 stars 0 forks source link

Projects plugin and cvs compatability #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What Plugin does this relate to?
Projects plugin and cvs compatability. The path that the Editra project
plugin generates and passes to cvs contains both forward and backward
slashes which the cvs server does not like.

What steps will reproduce the problem?
1. Try and connect to a cvs server using pserver protocal
2.
3.

What is the expected output? What do you see instead?

Looking at the log you can see the problem.
[11:28:16][projects][info]C:\work\sim\topaz\bif cvs status -l bif.cpp
[11:28:17][projects][info]======================================================
=============
[11:28:17][projects][info]File: bif.cpp             Status: Up-to-date

[11:28:17][projects][info]   Working revision:  1.1
[11:28:17][projects][info]   Repository revision:   1.1
/export/home/cvs/sim/topaz/bif/Attic/bif.cpp,v
[11:28:17][projects][info]   Sticky Tag:        TOPAZ_DDKBUILD_HEAD (revision: 1.1)
[11:28:17][projects][info]   Sticky Date:       (none)
[11:28:17][projects][info]   Sticky Options:    (none)

[11:28:22][projects][info]C:\work\sim\topaz\bif cvs rlog sim/topaz/bif\bif.cpp
[11:28:22][projects][err] cvs rlog: cannot find module
`sim/topaz/bif\bif.cpp' - ignored

What version of Editra are you using? On what operating system?

0.3.38, running on Windows Vista

Please provide any additional information below.

Original issue reported on code.google.com by paulbuxt...@googlemail.com on 21 Aug 2008 at 10:37

GoogleCodeExporter commented 9 years ago
What version of the Project Plugin are you using? (Tools=>PluginManager see 
version 
number next to projects).

Thanks,

Cody

Original comment by CodyPrec...@gmail.com on 21 Aug 2008 at 2:30

GoogleCodeExporter commented 9 years ago
Using Project Plugin version 0.6

Original comment by paulbuxt...@googlemail.com on 21 Aug 2008 at 2:48

GoogleCodeExporter commented 9 years ago
I think that CVS stores the paths to directories in the CVS/Repository file 
always with forward slashes.  I added 
some code to swap the forward slashes in those paths with the value of os.sep.

Original comment by Kevin.Da...@gmail.com on 21 Aug 2008 at 3:00

GoogleCodeExporter commented 9 years ago
Hi,
Yes I think CVS repo file always uses forward slashes. I don't think you should 
need
to modify those slashes however, as when you talk to the cvs server (e.g. using 
rlog
in this case) the format of the path should be the same as in the repo file.
This may be a protocol dependant issue, as I can see using the local os 
seperator
making sense when using a local cvs server, but when communicating with a remote
server the only information you have of it's seperator preferences is the 
contents of
the repo file.

Paul.

Original comment by paulbuxt...@googlemail.com on 21 Aug 2008 at 3:20

GoogleCodeExporter commented 9 years ago
Hi Kevin,

Has this been resolved?

Can you close it if it has.

Thanks,

Cody

Original comment by CodyPrec...@gmail.com on 23 Oct 2008 at 2:58

GoogleCodeExporter commented 9 years ago

Original comment by CodyPrec...@gmail.com on 23 Oct 2008 at 2:58

GoogleCodeExporter commented 9 years ago

Original comment by Kevin.Da...@gmail.com on 23 Oct 2008 at 3:27

GoogleCodeExporter commented 9 years ago
Move old 'fixed' issues to verified

Original comment by CodyPrec...@gmail.com on 3 Feb 2009 at 8:18