You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Steve Iribarne (GMail)" <ne...@gmail.com> on 2009/06/10 20:48:13 UTC

post-commit setting reply-to properly

I KNOW I've read this somewhere but I can't find it now.

My svn server and client are this version:   version 1.5.0 (r31699)

I have created the /etc/svn-auth-file which contains all my users.

What I want to do is have my post-commit script set the reply-to email
address to the person that committed the file.

If someone can point me to the proper documentation I'd truly appreciate it.

-stv



-- 
/*
 * Steve Iribarne
 * Software Engineer
 * (aka Grunt)
 */

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

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

Re: post-commit setting reply-to properly

Posted by "Steve Iribarne (GMail)" <ne...@gmail.com>.
>
> The post-commit is in the hooks directory of your repository. Its second parameter is the revision number of the commit. Use 'svnlook author' to get the name of whoever did the commit.
>
> Giulio
>
> P.S. Please don't top-post
>


Sorry about the top-posting.  GMail doesn't automatically do the
posting the right way.  I just haven't had enough coffee this morning!
 :)

Thanks for the svnlook help.

-stv
-- 
/*
 * Steve Iribarne
 * Software Engineer
 * (aka Grunt)
 */

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

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

Re: .svn/entries error

Posted by Tyler Roscoe <ty...@cryptio.net>.
Please don't top post.

On Thu, Jun 11, 2009 at 04:40:51PM +0000, maheshwar singh wrote:
> Yes i did

Where are you running svn add? Do you have a .svn/entries file in that
location?

tyler

RE: .svn/entries error

Posted by maheshwar singh <ma...@hotmail.com>.
Yes i did
 

- Maheshwar

 
> Date: Thu, 11 Jun 2009 09:38:35 -0700
> From: tyler@cryptio.net
> To: maheshwars@hotmail.com
> CC: users@subversion.tigris.org
> Subject: Re: .svn/entries error
> 
> Please don't start new threads by replying to old ones. You mess up the
> threading.
> 
> On Thu, Jun 11, 2009 at 04:03:50PM +0000, maheshwar singh wrote:
> > I have created a new test repository
> > 
> > when i enter "svn" i get a Type 'svn help' for usage
> > 
> > When do a "svn add test.txt" i get the below error message
> > 
> > "Can't open file '.svn/entries': A file or directory in the path name does not exist.
> 
> Did you check out a working copy? Where are you running svn add?
> 
> tyler

_________________________________________________________________
cricket and news. Logon to MSN Video for the latest clips
http://www.exploremyway.com

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

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

Re: .svn/entries error

Posted by Tyler Roscoe <ty...@cryptio.net>.
Please don't start new threads by replying to old ones. You mess up the
threading.

On Thu, Jun 11, 2009 at 04:03:50PM +0000, maheshwar singh wrote:
>  I have created a new test repository
> 
> when i enter "svn" i get a Type 'svn help' for usage
> 
> When  do a "svn add test.txt" i get the below error message
> 
> "Can't open file '.svn/entries': A file or directory in the path name does not exist.

Did you check out a working copy? Where are you running svn add?

tyler

.svn/entries error

Posted by maheshwar singh <ma...@hotmail.com>.
Hi,

 

 I have created a new test repository

 

when i enter "svn" i get a Type 'svn help' for usage

 

When  do a "svn add test.txt" i get the below error message

"Can't open file '.svn/entries': A file or directory in the path name does not exist.

 

What am i doing wrong, how do i resolve this?

 

Thanks

_________________________________________________________________
Stay updated! Add Facebook, LinkedIn, MySpace & Hi5  friends to your Windows Live network instantly. Add Now!
http://profile.live.com/webactivities/?mkt=en-in

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

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

RE: post-commit setting reply-to properly

Posted by Giulio Troccoli <gi...@uk.linedata.com>.
>


Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851    VAT Reg No 778499447

-----Original Message-----


> From: Steve Iribarne (GMail) [mailto:netstv@gmail.com]
> Sent: 11 June 2009 15:12
> To: Ryan Schmidt
> Cc: users@subversion.tigris.org
> Subject: Re: post-commit setting reply-to properly
>
> Right, I can use the '-r' flag but what I don't know is what
> is the variable that tells me who the user is?  Is there a
> parameter that gets passed into post-commit that tells me the
> user?  Where is post-commit called from so I can check it out.
>
> And eventually I think I'm going to use svnnotify so I can
> get the color diffs, so the commit-email.pl is just temporary for now.
>
> -stv
>
> On Wed, Jun 10, 2009 at 9:07 PM, Ryan
> Schmidt<su...@ryandesign.com> wrote:
> >
> > On Jun 10, 2009, at 16:25, Steve Iribarne (GMail) wrote:
> >
> >> Ryan Schmidt wrote:
> >>
> >>> On Jun 10, 2009, at 15:48, Steve Iribarne (GMail) wrote:
> >>>
> >>>> What I want to do is have my post-commit script set the reply-to
> >>>> email address to the person that committed the file.
> >>>
> >>> What script are you using to send the emails from your
> post-commit
> >>> script?
> >>
> >>
> >> Ooops.. Sorry about that.  I'm using the generic commit-email.pl
> >> located in the subversion/tools directory.
> >
> > According to its usage message, you would use the "-r" flag
> to set the
> > reply-to email address.
> >
> > You might also consider moving from commit-email.pl to mailer.py.
> > commit-email.pl is deprecated.
> >
> >

The post-commit is in the hooks directory of your repository. Its second parameter is the revision number of the commit. Use 'svnlook author' to get the name of whoever did the commit.

Giulio

P.S. Please don't top-post

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

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


Re: post-commit setting reply-to properly

Posted by "Steve Iribarne (GMail)" <ne...@gmail.com>.
Right, I can use the '-r' flag but what I don't know is what is the
variable that tells me who the user is?  Is there a parameter that
gets passed into post-commit that tells me the user?  Where is
post-commit called from so I can check it out.

And eventually I think I'm going to use svnnotify so I can get the
color diffs, so the commit-email.pl is just temporary for now.

-stv

On Wed, Jun 10, 2009 at 9:07 PM, Ryan
Schmidt<su...@ryandesign.com> wrote:
>
> On Jun 10, 2009, at 16:25, Steve Iribarne (GMail) wrote:
>
>> Ryan Schmidt wrote:
>>
>>> On Jun 10, 2009, at 15:48, Steve Iribarne (GMail) wrote:
>>>
>>>> What I want to do is have my post-commit script set the reply-to email
>>>> address to the person that committed the file.
>>>
>>> What script are you using to send the emails from your post-commit
>>> script?
>>
>>
>> Ooops.. Sorry about that.  I'm using the generic commit-email.pl
>> located in the subversion/tools directory.
>
> According to its usage message, you would use the "-r" flag to set the
> reply-to email address.
>
> You might also consider moving from commit-email.pl to mailer.py.
> commit-email.pl is deprecated.
>
>



-- 
/*
 * Steve Iribarne
 * Software Engineer
 * (aka Grunt)
 */

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

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


Re: post-commit setting reply-to properly

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jun 10, 2009, at 16:25, Steve Iribarne (GMail) wrote:

> Ryan Schmidt wrote:
>
>> On Jun 10, 2009, at 15:48, Steve Iribarne (GMail) wrote:
>>
>>> What I want to do is have my post-commit script set the reply-to  
>>> email
>>> address to the person that committed the file.
>>
>> What script are you using to send the emails from your post-commit  
>> script?
>
>
> Ooops.. Sorry about that.  I'm using the generic commit-email.pl
> located in the subversion/tools directory.

According to its usage message, you would use the "-r" flag to set  
the reply-to email address.

You might also consider moving from commit-email.pl to mailer.py.  
commit-email.pl is deprecated.

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

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

Re: post-commit setting reply-to properly

Posted by "Steve Iribarne (GMail)" <ne...@gmail.com>.
<snip.>
>
> What script are you using to send the emails from your post-commit script?

Ooops.. Sorry about that.  I'm using the generic commit-email.pl
located in the subversion/tools directory.

-stv



-- 
/*
 * Steve Iribarne
 * Software Engineer
 * (aka Grunt)
 */

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

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

Re: post-commit setting reply-to properly

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jun 10, 2009, at 15:48, Steve Iribarne (GMail) wrote:

> I KNOW I've read this somewhere but I can't find it now.
>
> My svn server and client are this version:   version 1.5.0 (r31699)
>
> I have created the /etc/svn-auth-file which contains all my users.
>
> What I want to do is have my post-commit script set the reply-to email
> address to the person that committed the file.
>
> If someone can point me to the proper documentation I'd truly  
> appreciate it.

What script are you using to send the emails from your post-commit  
script?

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

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