Wednesday, 23 January 2013

SVN Daily on Linux

[1] adding files to svn:ignore

prayag@Prayag:~/workspace_java/sbtc$ svn propedit svn:ignore .





[F3] to save
[Ctrl+X] to quit
Set new value for property 'svn:ignore' on '.'

[2] list all ignored patterns

prayag@Prayag:~/workspace_java/sbtc$ svn propget svn:ignore
target
c:
ctbs
catalina.base_IS_UNDEFINED

OR
prayag@Prayag:~/workspace_java/sbtc$ svn pg -R svn:ignore .
. - target
c:
ctbs
catalina.base_IS_UNDEFINED



[3] display the unversioned files
prayag@Prayag:~/workspace_java/sbtc$ svn status | grep -e ^?
OR
prayag@Prayag:~/workspace_java/sbtc$ svn status | grep "^?"


[4] recent log entries

prayag@Prayag:~/workspace_java/sbtc$ svn log -r {2012-12-26}:{2013-01-23}
Authentication realm: <http://10.13.212.254:80> Subversion Repositories
Password for 'pupd':

-----------------------------------------------------------------------
ATTENTION!  Your password for authentication realm:

   <http://10.13.212.24:80> Subversion Repositories

can only be stored to disk unencrypted!  You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible.  See the documentation for details.

You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/home/prayag/.subversion/servers'.
-----------------------------------------------------------------------
Store password unencrypted (yes/no)? no
------------------------------------------------------------------------
r40557 | pupd | 2012-12-26 15:06:54 +0545 (Wed, 26 Dec 2012) | 1 line

UPDATE ETransaction to RemitDetails and UPDATE UI
------------------------------------------------------------------------

OR
prayag@Prayag:~/workspace_java/central-tb-system$ svn log --limit 3


[5] comparing diff between incoming changes

prayag@Prayag:~/workspace_java/sbtc$ svn diff -r BASE:HEAD

Index: src/main/resources/WEB-INF/resourcebundle/message.properties

===================================================================
--- src/main/resources/WEB-INF/resourcebundle/message.properties (working copy)
+++ src/main/resources/WEB-INF/resourcebundle/message.properties (revision 42213)
@@ -5,9 +5,8 @@
 serviceNotSupported=Service {0} is not supported.
 currencyNotSupported=Currency {0} is not supported.
 requestAcknowleged=Request Acknowledged.
+amount.isless=Amount less than minimum limit
+amount.isgreater=Amount more than minimum limit
 invalidServiceInfo=Invalid Service Info ID {0}.
 internalError=Internal Error
 invalidAmount=Amount is missing




No comments:

Post a Comment