[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: versioned archiving with file metadata using svn (asvn-like)

From: Gunter Ohrner <G.Ohrner_at_post.rwth-aachen.de>
Date: 2005-12-20 14:45:47 CET

Ph. Marek wrote:
>> However, during testing I noticed that a symlink's modification time is
>> stored but not restored on checkout,
> Symlinks have no mtime AFAIK. If you try to change a symlink you change
> the file/directory it's pointing to.

Mh, ok. As there's lstat I thought there would also be some kind of
"opposite" function, but I'm no expert of the POSIX APIs and am probably

>> and that directories don't get their
>> property values set, even if manually setting their "magic" properties:
> So you set the property. Did you commit and *then* check for a new value?

Yes, the propget was on a fresh checkout.

In the repository it looks like this:

Properties on 'file:///home/gunter/misc/make/tmp/metatest/secdir':
  svn:text-time : mt
  svn:unix-mode : 0700
  svn:owner : 1000 gunter
  svn:group : 1000 gunter

For comparison, a test file I added looks good:

Properties on 'file:///home/gunter/misc/make/tmp/metatest/testfile':
  svn:text-time : 2005-12-20T12:01:09.000000Z
  svn:executable : *
  svn:unix-mode : 0755
  svn:owner : 1000 gunter
  svn:group : 1000 gunter

Both were committed at the same time and after recursively setting the

>> I read about a dir-auto-props patch, is this included in the branch and
> It is included, but would not help. It's for automatically setting these

Ok, I imagined.

Thanks a lot for your help! :-)

The meta-data extensions really look very promising.



Das dreieckige Rad ist gegenueber dem viereckigen Rad ein Fortschritt, 
weil es pro Umdrehung einmal weniger hoppelt.        -- aus einer .sig 
in oecher.computer
*** PGP-Verschlüsselung bei eMails erwünscht :-) *** PGP: 0x1128F25F ***
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 20 14:57:23 2005

This is an archived mail posted to the Subversion Users mailing list.