Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: replacing rcs tags in perl

by Hofmator (Curate)
on Jan 19, 2007 at 08:09 UTC ( #595419=note: print w/replies, xml ) Need Help??


in reply to replacing rcs tags in perl

This might be way off ... is there a possibility for adding a checkin hook in git? This would feel like the natural place for doing stuff like replacing RCS tags - and you wouldn't have to worry about finding all the files and such.

-- Hofmator

Code written by Hofmator and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Replies are listed 'Best First'.
Re^2: replacing rcs tags in perl
by jettero (Monsignor) on Jan 19, 2007 at 11:18 UTC

    You are definitely correct.

    The problem is: I find that git is completely unusable without cogito (checkins would be 3 or 5 commands) and cogito doesn't execute pre-commit hooks, only post for some unknown reason.

    -Paul

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://595419]
help
Chatterbox?
[shmem]: Discipulus: the <<>> operator is quite new, it is in perl5.24 for instance
[Discipulus]: ah! thanks shmem it works in strawberry 5.24
[shmem]: ah. Introduced in 5.22.0, see perl5220delta
[Discipulus]: if so the previous error is a bit misleading, anyway
[shmem]: well, previous to that << was always treated as the left-shift operator
[Eily]: or the here-doc operator
[Eily]: which is actually how it is parsed in this case
[shmem]: older versions of perl can't guess that "use of <<>> may be implemented someday" :D
Discipulus how much wise my brothers are? ;=)

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-07-21 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (320 votes). Check out past polls.