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

Re: config:miscellany:use-commit-times=yes ignored

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 30 Sep 2009 06:25:02 -0400

On Tue, Sep 29, 2009 at 21:02, Ross Smith II <cygwinspam_at_netebb.com> wrote:
> Why does SVN 1.6.5 (client and server both running on Debian) ignore the command:
>
> --config-option config:miscellany:use-commit-times=yes
>
> Here's a synopsis:
>
> host:/tmp# cat ~/.subversion/config
> ...
> [miscellany]
> ...
> ### Set use-commit-times to make checkout/update/switch/revert
> ### put last-committed timestamps on every file touched.
> use-commit-times = yes
> ### Set no-unlock to prevent 'svn commit' from automatically
> ### releasing locks on files.
> ...
>
> host:/tmp# ls -l test
> total 32
> -rw-r--r--    1 root     root        17992 Sep 16  1999 GPL
>
> host:/tmp# svn import -m '' test http://localhost/svn/src/test2
> Adding         test/GPL
>
> Committed revision 12.
>
> host:/tmp# svn co http://localhost/svn/src/test2 test2
> A    test2/GPL
> Checked out revision 12.
>
> host:/tmp# ls -l test2
> total 32
> -rw-r--r--    1 root     root        17992 Sep 29 17:36 GPL
>
> host:/tmp# svn import --config-option config:miscellany:use-commit-times=yes -m '' test http://localhost/svn/src/test3
> Adding         test/GPL
>
> Committed revision 13.
>
> host:/tmp# svn commit --config-option config:miscellany:use-commit-times=yes http://localhost/svn/src/test3 test3
> A    test3/GPL
> Checked out revision 13.
>
> host:/tmp# ls -l test3
> total 32
> -rw-r--r--    1 root     root        17992 Sep 29 17:36 GPL
>
> This option has always worked for me in the past. Why is 1.6.5 failing now?

Looks right to me; what are you expecting to see?

use-commit-times is used to set the mtime of the file to the time it
was last changed in the repository upon checkout or update. It's never
used with import.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2401978

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-30 12:26:02 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.