You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Yanghui Bian <yb...@vitesse.com> on 2003/07/29 15:00:44 UTC

several usage question

hello all,
(1) How to make keyword substition work by default for all the files to be commited based on the file type?
(2) For the keyword $LastChangedDate$, where can I define the format of the date&time
(3) After I invoked: svn rm <wc file>, before committing the deletion, I changed my mind to keep this file. How can I 
cancel this deletion without committing the deletion, restroring the file and re-adding it.

Thanks you for your help.
YBI


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: several usage question

Posted by Michael Wood <mw...@its.uct.ac.za>.
On Tue, Jul 29, 2003 at 10:03:49AM -0500, Ben Collins-Sussman wrote:
> "Yanghui Bian" <yb...@vitesse.com> writes:
> 
> > hello all, (1) How to make keyword substition work by default for
> > all the files to be commited based on the file type?
> 
> You can't.

Several people have asked this and similar questions before.  It is not
currenly implemented.  Someone sent a patch for automatic svn:mime-type
support based on file type, which is similar to this, recently, but
there has been no consensus to commit it.  You'll have to wait and see.
Of course, if you use a third party Subversion client, this feature
could be implemented there instead of in Subversion itself.

> > (2) For the keyword $LastChangedDate$, where can I define the format
> > of the date&time
> 
> You can't.

This is also not currently implemented.  Maybe it would be included if
someone sent in a patch.  Since I am not one of the developers, I would
not be able to say whether it would, though.  Recently someone asked for
the format of dates in "svn ls -v" to be based on the locale, which is
similar to your question.

-- 
Michael Wood <mw...@its.uct.ac.za>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: several usage question

Posted by Ben Collins-Sussman <su...@collab.net>.
"Yanghui Bian" <yb...@vitesse.com> writes:

> hello all, (1) How to make keyword substition work by default for
> all the files to be commited based on the file type?

You can't.


> (2) For the keyword $LastChangedDate$, where can I define the format
> of the date&time

You can't.


> (3) After I invoked: svn rm <wc file>, before committing the
> deletion, I changed my mind to keep this file. How can I cancel this
> deletion without committing the deletion, restroring the file and
> re-adding it.

'svn revert'

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org