public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin svn vs. TortoiseSVN?
@ 2015-03-18 20:58 David Stacey
  2015-03-18 22:49 ` Denis Excoffier
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: David Stacey @ 2015-03-18 20:58 UTC (permalink / raw)
  To: cygwin

I have a PC with both Cygwin and TortoiseSVN. When I try to commit 
through Cygwin svn, I get the following (slightly redacted):

Committed revision nnnnn.
svn: E200000: Commit succeeded, but other errors follow:
svn: E155009: Error bumping revisions post-commit (details follow):
svn: E155009: Failed to run the WC DB work queue associated with 
'/cygdrive/D/xxx/yyy', work item 528 (file-commit aaa/bbb.c)
svn: E000013: Can't open file '/cygdrive/D/xxx/yyy/.svn/tmp/svn-sckggY': 
Permission denied

Once in this state, the working copy has to be cleaned up (using 
TortoiseSVN; attempting a 'svn cleanup' from Cygwin results in similar 
errors). Is this to do with the VFS locking semantics in sqlite3 that 
replaced the CYGWIN_SQLITE_LOCKING environment variable?

I'm using TortoiseSVN-1.8.10 (built against Subversion 1.8.11). The 
pertinent Cygwin packages are as follows:

Package              Version        Status
cygwin               1.7.35-1       OK
libsqlite3_0         3.8.8.3-1      OK
subversion           1.8.11-1       OK

Any help would be greatly appreciated.

Thanks in advance,

Dave.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Cygwin svn vs. TortoiseSVN?
  2015-03-18 20:58 Cygwin svn vs. TortoiseSVN? David Stacey
@ 2015-03-18 22:49 ` Denis Excoffier
  2015-03-18 23:46   ` David Stacey
  2015-03-19 20:03   ` David Stacey
  2015-03-19  8:34 ` Eric Pement
  2015-03-19 10:31 ` Csaba Raduly
  2 siblings, 2 replies; 9+ messages in thread
From: Denis Excoffier @ 2015-03-18 22:49 UTC (permalink / raw)
  To: David Stacey; +Cc: cygwin

On 2015-03-18 19:45, David Stacey wrote:
> 
> I have a PC with both Cygwin and TortoiseSVN. When I try to commit through Cygwin svn, I get the following (slightly redacted):
> 
> Committed revision nnnnn.
> svn: E200000: Commit succeeded, but other errors follow:
> svn: E155009: Error bumping revisions post-commit (details follow):
> svn: E155009: Failed to run the WC DB work queue associated with '/cygdrive/D/xxx/yyy', work item 528 (file-commit aaa/bbb.c)
> svn: E000013: Can't open file '/cygdrive/D/xxx/yyy/.svn/tmp/svn-sckggY': Permission denied

Just in case: mount the appropriate part of your D disk with the 'noacl' option, ie add something like
D:/Wherever/Is/Your/SVNRepository /svnR ntfs cygexec,noacl
at the end of your /etc/fstab,
and use
file:///svnR
for your repo.

See also for https://cygwin.com/cygwin-ug-net/using.html#mount-table, especially the word "suddenly".

Hope this helps.

Denis Excoffier.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Cygwin svn vs. TortoiseSVN?
  2015-03-18 22:49 ` Denis Excoffier
@ 2015-03-18 23:46   ` David Stacey
  2015-03-19 20:03   ` David Stacey
  1 sibling, 0 replies; 9+ messages in thread
From: David Stacey @ 2015-03-18 23:46 UTC (permalink / raw)
  To: cygwin

On 18/03/15 20:57, Denis Excoffier wrote:
> On 2015-03-18 19:45, David Stacey wrote:
>> I have a PC with both Cygwin and TortoiseSVN. When I try to commit through Cygwin svn, I get the following (slightly redacted):
>>
>> Committed revision nnnnn.
>> svn: E200000: Commit succeeded, but other errors follow:
>> svn: E155009: Error bumping revisions post-commit (details follow):
>> svn: E155009: Failed to run the WC DB work queue associated with '/cygdrive/D/xxx/yyy', work item 528 (file-commit aaa/bbb.c)
>> svn: E000013: Can't open file '/cygdrive/D/xxx/yyy/.svn/tmp/svn-sckggY': Permission denied
> Just in case: mount the appropriate part of your D disk with the 'noacl' option, ie add something like
> D:/Wherever/Is/Your/SVNRepository /svnR ntfs cygexec,noacl
> at the end of your /etc/fstab,
> and use
> file:///svnR
> for your repo.

Thank you for your reply. It's a good thought about ACLs - my immediate 
thought was that this must be a locking problem, so I never considered ACLs.

My repository is on a server, accessed over https. The errors are coming 
from the svn client updating the working copy. This working copy is on 
the 'D' drive, so I'll try mounting '/cygdrive/d' as 'noacl' and see if 
that helps.

Dave.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Cygwin svn vs. TortoiseSVN?
  2015-03-18 20:58 Cygwin svn vs. TortoiseSVN? David Stacey
  2015-03-18 22:49 ` Denis Excoffier
@ 2015-03-19  8:34 ` Eric Pement
  2015-03-19 10:05   ` Jan Nijtmans
  2015-03-19 17:38   ` David Stacey
  2015-03-19 10:31 ` Csaba Raduly
  2 siblings, 2 replies; 9+ messages in thread
From: Eric Pement @ 2015-03-19  8:34 UTC (permalink / raw)
  To: cygwin

On Wed, Mar 18, 2015 at 2:45 PM, David Stacey <drstacey@tiscali.co.uk> wrote:

> I have a PC with both Cygwin and TortoiseSVN. When I try to commit through
> Cygwin svn, I get the following:
... [rest omitted] ...

The TortoiseSVN FAQ file, answering the question of whether one can
use different SVN clients on the same working copy, says this is not
recommended.
The FAQ mentions Cygwin in particular:

    You must also be sure that all the clients are built for the same
OS. Client compatibility
    is only guaranteed for a particular OS type and metadata
representations may differ.
    You must not use a native Windows client and the Cygwin client on
the same working copy.
    ( from http://tortoisesvn.net/faq.html#multiclients )

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Cygwin svn vs. TortoiseSVN?
  2015-03-19  8:34 ` Eric Pement
@ 2015-03-19 10:05   ` Jan Nijtmans
  2015-03-19 17:38   ` David Stacey
  1 sibling, 0 replies; 9+ messages in thread
From: Jan Nijtmans @ 2015-03-19 10:05 UTC (permalink / raw)
  To: cygwin

2015-03-19 5:01 GMT+01:00 Eric Pement <eric.pement@gmail.com>:
> The TortoiseSVN FAQ file, answering the question of whether one can
> use different SVN clients on the same working copy, says this is not
> recommended.
> The FAQ mentions Cygwin in particular:

I am aware of this FAQ entry, but with latest SQLite versions this
is not a problem any more, as cygwin SQLite uses the
same locking semantics as the sqlite client in TortoiseSVN does.
I am using TortoiseSVN in combination with the cygwin svn client
without any problem (but I understand the suspicion due to
past experience).

Another reason why I don't think the locking is the problem:
> svn: E000013: Can't open file '/cygdrive/D/xxx/yyy/.svn/tmp/svn-sckggY': Permission denied

The SQLite database file can be found in /cygdrive/D/xxx/yyy/.svn/wc.db',
so any file opened by SQLite can only be this file (or related .wal/.journal
file), or some temporary file named something like '/tmp/etilqs*'. The file,
'svn-sckggY' doesn't look like that, so it's opened by subversion, not by
SQLite. That's why the recent ACL-related changed in cygwin are
more likely causing the problem here.

Anyway, thanks for your report!

Regards,
      Jan Nijtmans

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Cygwin svn vs. TortoiseSVN?
  2015-03-18 20:58 Cygwin svn vs. TortoiseSVN? David Stacey
  2015-03-18 22:49 ` Denis Excoffier
  2015-03-19  8:34 ` Eric Pement
@ 2015-03-19 10:31 ` Csaba Raduly
  2015-03-19 13:18   ` Jan Nijtmans
  2 siblings, 1 reply; 9+ messages in thread
From: Csaba Raduly @ 2015-03-19 10:31 UTC (permalink / raw)
  To: cygwin list

On Wed, Mar 18, 2015 at 7:45 PM, David Stacey  wrote:
> I have a PC with both Cygwin and TortoiseSVN.

Using both Cygwin svn and TortoiseSVN on the same repo is problematic.
Even if you don't run into locking problems, the "native" line-ending
differs (Cygwin's svn uses LF, TortoiseSVN uses CR LF). I've had these
problems in the past :(

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Cygwin svn vs. TortoiseSVN?
  2015-03-19 10:31 ` Csaba Raduly
@ 2015-03-19 13:18   ` Jan Nijtmans
  0 siblings, 0 replies; 9+ messages in thread
From: Jan Nijtmans @ 2015-03-19 13:18 UTC (permalink / raw)
  To: cygwin

2015-03-19 10:55 GMT+01:00 Csaba Raduly <rcsaba@gmail.com>:
> Using both Cygwin svn and TortoiseSVN on the same repo is problematic.
> Even if you don't run into locking problems, the "native" line-ending
> differs (Cygwin's svn uses LF, TortoiseSVN uses CR LF). I've had these
> problems in the past :(

Me too, but it is very well workable with the following two measures:

- Change the svn "config" and "servers" files to being hyperlinks to
  the windows version of those file. For example:
    $ pwd
    /home/nijtmaj/.subversion
    $ ls -la
    total 14
    drwxr-xr-x+ 1 nijtmaj None    0 Mar 19 12:20 .
    drwxr-xr-x+ 1 nijtmaj None    0 Mar  3 17:12 ..
    drwx------+ 1 nijtmaj None    0 Nov 14  2013 auth
    lrwxrwxrwx  1 nijtmaj None   59 Mar 19 12:20 config ->
/cygdrive/c/Users/nijtmaj/AppData/Roaming/Subversion/config
    -rw-r--r--  1 nijtmaj None 4276 Nov 14  2013 README.txt
    lrwxrwxrwx  1 nijtmaj None   60 Mar 13  2014 servers ->
/cygdrive/c/Users/nijtmaj/AppData/Roaming/Subversion/servers
  This way, the settings for cygwin and win32 are always consistant.
  (maybe it works for the "auth" directory as well, didn't try/need that)
- Never user svn:eo-style=native, always either svn:eo-style=LF or
svn:eo-style=CRLF

This way, it works very well for me.

Regards,
         Jan Nijtmans

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Cygwin svn vs. TortoiseSVN?
  2015-03-19  8:34 ` Eric Pement
  2015-03-19 10:05   ` Jan Nijtmans
@ 2015-03-19 17:38   ` David Stacey
  1 sibling, 0 replies; 9+ messages in thread
From: David Stacey @ 2015-03-19 17:38 UTC (permalink / raw)
  To: cygwin

On 19/03/15 04:01, Eric Pement wrote:
> On Wed, Mar 18, 2015 at 2:45 PM, David Stacey<drstacey@tiscali.co.uk>  wrote:
>
>> I have a PC with both Cygwin and TortoiseSVN. When I try to commit through
>> Cygwin svn, I get the following:
> ... [rest omitted] ...
>
> The TortoiseSVN FAQ file, answering the question of whether one can
> use different SVN clients on the same working copy, says this is not
> recommended.

Whilst that might be the official line from TortoiseSVN, I've been using 
Cygwin svn and TortoiseSVN together for quite a few years. With the 
exception of the locking problem 2 or 3 years ago (which Warren fixed), 
the two work happily on the same working copy.

I *am* careful to force my line endings in the auto-props settings though.

Dave.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Cygwin svn vs. TortoiseSVN?
  2015-03-18 22:49 ` Denis Excoffier
  2015-03-18 23:46   ` David Stacey
@ 2015-03-19 20:03   ` David Stacey
  1 sibling, 0 replies; 9+ messages in thread
From: David Stacey @ 2015-03-19 20:03 UTC (permalink / raw)
  To: cygwin

On 18/03/15 20:57, Denis Excoffier wrote:
> On 2015-03-18 19:45, David Stacey wrote:
>> I have a PC with both Cygwin and TortoiseSVN. When I try to commit through Cygwin svn, I get the following (slightly redacted):
>>
>> Committed revision nnnnn.
>> svn: E200000: Commit succeeded, but other errors follow:
>> svn: E155009: Error bumping revisions post-commit (details follow):
>> svn: E155009: Failed to run the WC DB work queue associated with '/cygdrive/D/xxx/yyy', work item 528 (file-commit aaa/bbb.c)
>> svn: E000013: Can't open file '/cygdrive/D/xxx/yyy/.svn/tmp/svn-sckggY': Permission denied
> Just in case: mount the appropriate part of your D disk with the 'noacl' option, ie add something like
> D:/Wherever/Is/Your/SVNRepository /svnR ntfs cygexec,noacl
> at the end of your /etc/fstab

Thank you so much for reminding me about the 'noacl' mount option. I set 
that in /etc/fstab, and have been flitting between Cygwin svn and 
TortoiseSVN all day and it has worked fine.

Dave.

PS: This is my third attempt at sending this reply - not sure where the 
other two went. Apologies if you receive several copies...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-03-19 19:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-18 20:58 Cygwin svn vs. TortoiseSVN? David Stacey
2015-03-18 22:49 ` Denis Excoffier
2015-03-18 23:46   ` David Stacey
2015-03-19 20:03   ` David Stacey
2015-03-19  8:34 ` Eric Pement
2015-03-19 10:05   ` Jan Nijtmans
2015-03-19 17:38   ` David Stacey
2015-03-19 10:31 ` Csaba Raduly
2015-03-19 13:18   ` Jan Nijtmans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).