Kiln » KilnSupportScripts Powershell Scripts to help monitor a Kiln environment. Contact Fog Creek support before using.
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

remove uneeded files

Changeset 14361bd3a70b

Parent 72609f28e752

by Profile picture of User 476Ben McCormack <benm@fogcreek.com>

Changes to 2 files · Browse files at 14361bd3a70b Showing diff from parent 72609f28e752 Diff from another changeset...

Change 1 of 1 Show Entire File checkByDiff.ps1 Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,34 +0,0 @@
-function Get-URL([string] $url){ - (New-Object net.webclient).DownloadString($url) -} - -$g_backendUrl = "http://localhost:56783/" - -function Test-KilnVersion(){ - try { - $resp = Get-Url(($g_backendUrl + "version")) - return ($resp.length -gt 0) - } - catch { - return $False - } -} - -function Test-KilnDiff([string] $sRepoGUID, [string] $sChangeset1, [string] $sChangeset2){ - $url =$g_backendUrl + "repo/" + $sRepoGUID + "/diff/" + $sChangeset1 + ":" + $sChangeset2 + "?format=json&ignorews=True&maxsize=100000&timeout=10" - $resp = Get-Url($url) - #write $resp -} - -# hg-explain -# $sRepoGUID = '34CAA433-1600-469E-95B7-35CA0A0FECF4' -# $sChangeset1 = '4cbbd1eabb2cf5310a79b5ccc6776af05ce6fda0' -# #$sChangeset1 = '9d21e91b213a07e56d16a9b8fe519ad570d5c46e' -# $sChangeset2 = '68269169cdd0b803d0e419752ce9cae627e589e5' - -# other-user-scripts -$sRepoGUID = 'B530EC64-82BE-473A-82E1-569464B1074A' -$sChangeset1 = '641ae3fdc50df6b698809fc78ff557598adc45db' -$sChangeset2 = 'f371eb798eedf0b4289000c2e06d7a5591c78bb2' -Test-KilnDiff $sRepoGUID $sChangeset1 $sChangeset2 -
Change 1 of 1 Show Entire File test.ps1 Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,15 +0,0 @@
- function Test-Diff([string] $sRepoGUID, [string] $sChangeset1, [string] $sChangeset2){ - $url =$g_backendUrl + "repo/" + $sRepoGUID + "/diff/" + $sChangeset1 + ":" + $sChangeset2 + "?format=json&ignorews=True&maxsize=100000&timeout=10" - write $url - } - - $g_backendUrl = "http://localhost:56783/" - $sRepoGUID = '34CAA433-1600-469E-95B7-35CA0A0FECF4' - $sChangeset1 = '9d21e91b213a07e56d16a9b8fe519ad570d5c46e' - $sChangeset2 = '68269169cdd0b803d0e419752ce9cae627e589e5' - $url =$g_backendUrl + "repo/" + $sRepoGUID + "/diff/" + $sChangeset1 + ":" + $sChangeset2 + "?format=json&ignorews=True&maxsize=100000&timeout=10" - write $url - Test-Diff $sRepoGUID $sChangeset1 $sChangeset2 - -# http://localhost:56783/repo/34CAA433-1600-469E-95B7-35CA0A0FECF4/diff/9d21e91b213a07e56d16a9b8fe519ad570d5c46e:68269169cdd0b803d0e419752ce9cae627e589e5?format=json&ignorews=True&maxsize=100000&timeout=10 -# http://localhost:56783/repo/34CAA433-1600-469E-95B7-35CA0A0FECF4 9d21e91b213a07e56d16a9b8fe519ad570d5c46e 68269169cdd0b803d0e419752ce9cae627e589e5/diff/:?format=json&ignorews=True&maxsize=100000&timeout=10 \ No newline at end of file