Sponsored Content
Full Discussion: code tags
The Lounge What is on Your Mind? code tags Post 302339845 by Corona688 on Friday 31st of July 2009 01:07:16 PM
Old 07-31-2009
Quote:
Originally Posted by tayyabq8
IMO, it'll be harsh (specially to newbies) to define it as a rule, moderators voluntarily add code tags many times and user also becomes aware of the advantage of using code tags after few posts at forums.
This would give moderators an official rule stating they should do what they're doing already just to be helpful. I don't see a problem with that, its not like newbies would be banned left and right for not using code tags in their first posts. And there are occasional users who just plain won't use code tags despite repeated editing and pointed instructions; expecting moderators to do all the work for the sake of saving themselves ten keystrokes isn't fair.
 

We Also Found This Discussion For You

1. Post Here to Contact Site Administrators and Moderators

No code tags

Cound some kind moderator soul enforce the code tags rule on this thread - I'm tired of making fixes here and the OP doesn't obey the rules. (4 Replies)
Discussion started by: vgersh99
4 Replies
SVNPATH(1)																SVNPATH(1)

NAME
svnpath - output svn url with support for tags and branches SYNOPSIS
svnpath svnpath tags svnpath branches svnpath trunk DESCRIPTION
svnpath is intended to be run in a Subversion working copy. In its simplest usage, svnpath with no parameters outputs the svn url for the repository associated with the working copy. If a parameter is given, svnpath attempts to instead output the url that would be used for the tags, branches, or trunk. This will only work if it's run in the top-level directory that is subject to tagging or branching. For example, if you want to tag what's checked into Subversion as version 1.0, you could use a command like this: svn cp $(svnpath) $(svnpath tags)/1.0 That's much easier than using svn info to look up the repository url and manually modifying it to derive the url to use for the tag, and typing in something like this: svn cp svn+ssh://my.server.example/svn/project/trunk svn+ssh://my.server.example/svn/project/tags/1.0 svnpath uses a simple heuristic to convert between the trunk, tags, and branches paths. It replaces the first occurrence of trunk, tags, or branches with the name of what you're looking for. This will work ok for most typical Subversion repository layouts. If you have an atypical layout and it does not work, you can add a ~/.svnpath file. This file is perl code, which can modify the path in $url. For example, the author uses this file: #!/usr/bin/perl # svnpath personal override file # For d-i I sometimes work from a full d-i tree branch. Remove that from # the path to get regular tags or branches directories. $url=~s!d-i/(rc|beta)[0-9]+/!!; $url=~s!d-i/sarge/!!; 1 LICENSE
GPL version 2 or later AUTHOR
Joey Hess <joey@kitenet.net> Debian Utilities 2013-12-23 SVNPATH(1)
All times are GMT -4. The time now is 03:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy