You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by makl <ma...@tigris.org> on 2004/03/17 17:40:55 UTC
[Recipe] recursively propset for keywords
$ svn --version
svn, version 1.0.0
compiled Feb 25 2004, 18:32:49
[...]
$ svnadmin create --bdb-txn-nosync repo
$ svn co file:///g:/repos/repo wc1
$ mkdir wc1\rom
$ mkdir wc1\rom\ss
$ time /t 1>wc1\test.txt
$ time /t 1>wc1\rom\ff.txt
$ time /t 1>wc1\rom\ss\ss.txt
$ svn add wc1\rom
$ svn add wc1\test.txt
$ svn ci -m "" wc1
$ svn propset -R svn:keywords "Date" wc1
property 'svn:keywords' set (recursively) on 'wc1'
$ svn st wc1
! wc1\ss.txt
! wc1\ff.txt
M wc1\rom\ss\ss.txt
M wc1\rom\ff.txt
M wc1\test.txt
And here is the entries file from wc1:
<?xml version="1.0" encoding="utf-8"?>
<wc-entries
xmlns="svn:">
<entry
name=""
url="file:///g:/repos/repo"
kind="dir"
uuid="4a8bed38-4a01-984b-a534-fb4db67c4656"
revision="0"/>
<entry
name="ss.txt"/>
<entry
name="ff.txt"/>
<entry
name="rom"
kind="dir"/>
<entry
committed-rev="1"
name="test.txt"
committed-date="2004-03-17T17:36:00.596001Z"
checksum="79191cdab493d1e8e85ef8c6bcd3e2ec"
last-author="mk"
kind="file"
revision="1"/>
</wc-entries>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: [Recipe] recursively propset for keywords
Posted by Philip Martin <ph...@codematters.co.uk>.
makl <ma...@tigris.org> writes:
> $ mkdir wc1\rom
> $ mkdir wc1\rom\ss
> $ time /t 1>wc1\test.txt
> $ time /t 1>wc1\rom\ff.txt
> $ time /t 1>wc1\rom\ss\ss.txt
> $ svn add wc1\rom
> $ svn add wc1\test.txt
> $ svn ci -m "" wc1
>
> $ svn propset -R svn:keywords "Date" wc1
> property 'svn:keywords' set (recursively) on 'wc1'
>
> $ svn st wc1
> ! wc1\ss.txt
> ! wc1\ff.txt
> M wc1\rom\ss\ss.txt
> M wc1\rom\ff.txt
> M wc1\test.txt
Ugh! At a guess we are omitting to retrieve an access baton
somewhere, and passing the root baton instead, the function
prop_commands.c:proplist_walk_cb looks like it could be the
culprit.
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: [Recipe] recursively propset for keywords
Posted by makl <ma...@tigris.org>.
Ben Collins-Sussman wrote:
> Holy missing node-kind, Batman! makl, can you file this bug and recipe?
Filed as issue #1794
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: [Recipe] recursively propset for keywords
Posted by Ben Collins-Sussman <su...@collab.net>.
On Wed, 2004-03-17 at 11:40, makl wrote:
> <entry
> name="ss.txt"/>
> <entry
> name="ff.txt"/>
Holy missing node-kind, Batman! makl, can you file this bug and recipe?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org