Handle rename of temporary config files under Windows
commit77487f7e6df954a425475ce0c2f77bd0aa80dff5
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 16 Apr 2008 23:47:57 +0000 (17 01:47 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 16 Apr 2008 23:47:57 +0000 (17 01:47 +0200)
tree63469bd8337310c282e86fe9603aa7ea7146dd9f
parenta66a524e07f2e3ae91147d2221c61b9b6f8c728c
Handle rename of temporary config files under Windows

Windows does not allow us to replace an existing file using
rename so we must use a more brittle strategy of deleting
the old file first.

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/lib/RepositoryConfig.java