[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] [hot-backup.py] Allow to set the numer of backups in environment

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com>
Date: 2007-10-22 20:12:11 CEST

2007-10-22 20:00 Karl Fogel <kfogel@red-bean.com> napisaƂ(a):
> Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com> writes:
> >> [[[
> >> Allow to set in environment the numer of backups kept around by hot-backup.py.
> >>
> >> * tools/backup/hot-backup.py.in: Set num_backups to value obtained from
> >> SVN_HOTBACKUP_BACKUPS_NUMBER environmental variable.
> >>
> >> Patch by: arfrever
> >> cmpilato
> >> ]]]
> I may have missed some discussion, but why an environment variable
> instead of an option? Usually an option is the way to get this kind
> of functionality, I would think...

Patches welcome :)
Use of environment variable is easier to implement - just one line.
In case of my small custom repository, setting a variable in
~/.bash_profile is sufficient.
I think that an option can be implemented later.

And we also have SVN_EDITOR and SVN_MERGE variables...
Received on Mon Oct 22 20:12:30 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.