Hi, [email protected]

I have got bug in fsvs then I try to execute fsvs update

I'am using Debian Linux 4.0 (etch) and fsvs -V
FSVS (licensed under the GPLv3), (C) by Ph. Marek; version fsvs-1.1.14:1496

First I create new repository 
#svnadmin create /mnt/1/repository2

I want to commit directory /tmp/1 into repository
#cd /tmp/1

#ls -all
---
-rw-r--r--  1 root root   18 May 23 14:09 somefile
---
directory has only one file

#fsvs urls file:///mnt/1/repository2

Committing:
#fsvs commit -m 'first' /tmp/1
---
Committing to file:///mnt/1/repository2
N...        18  /tmp/1/somefile
committed revision      1 on 2008-05-23T06:11:50.954017Z as root
---
committed success

Now, I would like to checkout into /tmp/2
#mkdir /tmp/2
#fsvs checkout /tmp/2 file:///mnt/1/repository2
---
......        18  /tmp/2/somefile
......       dir  /tmp/2
Checked out file:///mnt/1/repository2 at revision       1.
---
everything seems to be ok

Try to check attributes:
for source:
# ls -all /tmp/1  
---
-rw-r--r--  1 root root   18 May 23 14:09 somefile
---

and for destination
# ls -all /tmp/2
---
-rw-r--r--  1 root root   18 May 23 14:09 somefile
---
attributes are the same for source and destination dirs

So, lets update source file
I have modified file /tmp/1/somefile (added some bytes to it)

and take a look at attributes again
---
# ls -all /tmp/1
-rw-r--r--  1 root root   20 May 23 14:12 somefile
# ls -all /tmp/2
-rw-r--r--  1 root root   18 May 23 14:09 somefile
---
of course mdate and size has been changed

Commit 2nd revision into repository:

# fsvs commit -m 'second revision' /tmp/1
---
Committing to file:///mnt/1/repository2
.mC.        20  /tmp/1/somefile
committed revision      2 on 2008-05-23T06:13:33.472190Z as root
---

Ok, Now I would like to update my destination directory to 2nd revision (and 
as I understand after this operation destination directory /tmp/2 must 
contain file 'somefile' with mdate 14:12, size equal to 20 bytes and the same 
permissions as it was in source dir)
So, updating:
#fsvs update /tmp/2
---
Updated file:///mnt/1/repository2 to revision   2.
.mC.        20  /tmp/2/somefile
---

and checking attributes in destination:
#ls -all /tmp/2
---
-rw-------  1 root root   20 May 23 14:12 somefile
---

as you can see file size is 20 bytes and mdate is right too, but look at the 
permissions
was 644, but now it changed to 600.
Why?

This permissons looses gets not every time, sometimes everything ok.
And if I will make fsvs checkout again permissions will be correct, so error 
occurs only then I update local copy and only for files which has been 
changed last time

-----
Best regards, Shuvaev Vitaliy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to