You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ross Smith II <cy...@netebb.com> on 2009/09/30 01:02:00 UTC

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

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?

Thanks for any assistance,

Ross

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

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

Posted by Bert Huijben <rh...@sharpsvn.net>.
> -----Original Message-----
> From: Ross Smith II [mailto:cygwinspam@netebb.com]
> Sent: woensdag 30 september 2009 3:02
> To: users@subversion.tigris.org
> Subject: config:miscellany:use-commit-times=yes ignored
> 
> 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.

What checkout command did you use here?

I don't think svn commit can do the checkout for you ;)

	Bert

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

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

Posted by Andy Levy <an...@gmail.com>.
On Tue, Sep 29, 2009 at 21:02, Ross Smith II <cy...@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@subversion.tigris.org].