Using macros in files

View: New views
3 Messages — Rating Filter:   Alert me  

Using macros in files

by Alex Pt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

I need that each source file has a header that contains up to date information reflecting its SVN status at the moment of getting copy from the repository. The header should looks like this:

// --------------------------------------------------
// Filename: <%Filename%>
// Project:    <%RepositoryName%>
//
// Last Change: <%Author%>  <%Date%>
//
// History: <%Last commit message%>
// --------------------------------------------------
 
Such header can either permanently be present in file or be added on-fly during operation "Copy from repository".

Could SmartSVN somehow help me to resolve such a problem?
Perhaps I need to add/modify something at SVN server side to get it works?
Any suggestions will be appreciated.

Thank you in advance
Alex.

RE: Using macros in files

by Palmer, Eric :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This would be very useful. We would love to see something like this as well.

Eric Palmer
U of Richmond

________________________________
From: smartsvn@... [smartsvn@...] On Behalf Of Alex Pt [ap911@...]
Sent: Thursday, May 28, 2009 3:31 AM
To: smartsvn@...
Subject: [smartsvn] Using macros in files




Hello

I need that each source file has a header that contains up to date
information reflecting its SVN status at the moment of getting copy from the
repository. The header should looks like this:

// --------------------------------------------------
// Filename: <%Filename%>
// Project: <%RepositoryName%>
//
// Last Change: <%Author%> <%Date%>
//
// History: <%Last commit message%>
// --------------------------------------------------

Such header can either permanently be present in file or be added on-fly
during operation "Copy from repository".

Could SmartSVN somehow help me to resolve such a problem?
Perhaps I need to add/modify something at SVN server side to get it works?
Any suggestions will be appreciated.

Thank you in advance
Alex.
--
View this message in context: http://www.nabble.com/Using-macros-in-files-tp23756607p23756607.html
Sent from the SmartSVN mailing list archive at Nabble.com.





------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/smartsvn/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/smartsvn/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:smartsvn-digest@...
    mailto:smartsvn-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    smartsvn-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Re: Using macros in files

by syntevo Support-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I need that each source file has a header that contains up to date
> information reflecting its SVN status at the moment of getting copy from the
> repository.

So SVN's "Keyword Substitution" is definitely not useful for you? For Update,
SmartSVN's Plugin-API will probably allow you to perform such a task. For
details, have a look at:

  http://www.syntevo.com/smartsvn/features.html#pluginapi

--
Best regards,
Marc Strapetz
_____________
syntevo GmbH
www.syntevo.com



Alex Pt <ap911@...> wrote:

>
> Hello
>
> I need that each source file has a header that contains up to date
> information reflecting its SVN status at the moment of getting copy from the
> repository. The header should looks like this:
>
> // --------------------------------------------------
> // Filename: <%Filename%>
> // Project:    <%RepositoryName%>
> //
> // Last Change: <%Author%>  <%Date%>
> //
> // History: <%Last commit message%>
> // --------------------------------------------------
>  
> Such header can either permanently be present in file or be added on-fly
> during operation "Copy from repository".
>
> Could SmartSVN somehow help me to resolve such a problem?
> Perhaps I need to add/modify something at SVN server side to get it works?
> Any suggestions will be appreciated.
>
> Thank you in advance
> Alex.
> --
> View this message in context:
> http://www.nabble.com/Using-macros-in-files-tp23756607p23756607.html
> Sent from the SmartSVN mailing list archive at Nabble.com.
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>








------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/smartsvn/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/smartsvn/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:smartsvn-digest@...
    mailto:smartsvn-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    smartsvn-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/