Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
auto-tx
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vamp
auto-tx
Commits
5c3f1ab8
Commit
5c3f1ab8
authored
7 years ago
by
Niko Ehrenfeuchter
Browse files
Options
Downloads
Patches
Plain Diff
Logging / reporting changes only.
parent
1a9b115b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
AutoTx/AutoTx.cs
+3
-1
3 additions, 1 deletion
AutoTx/AutoTx.cs
AutoTx/XmlWrapper/ServiceConfig.cs
+1
-1
1 addition, 1 deletion
AutoTx/XmlWrapper/ServiceConfig.cs
with
4 additions
and
2 deletions
AutoTx/AutoTx.cs
+
3
−
1
View file @
5c3f1ab8
...
...
@@ -847,8 +847,10 @@ namespace AutoTx
try
{
// make sure the target directory that should hold all subdirectories to
// be moved is existing:
if
(
string
.
IsNullOrEmpty
(
CreateNewDirectory
(
destPath
,
false
)))
if
(
string
.
IsNullOrEmpty
(
CreateNewDirectory
(
destPath
,
false
)))
{
writeLog
(
"WARNING: destination path doesn't exist: "
+
destPath
);
return
false
;
}
foreach
(
var
subDir
in
sourceDir
.
GetDirectories
())
{
var
target
=
Path
.
Combine
(
destPath
,
subDir
.
Name
);
...
...
This diff is collapsed.
Click to expand it.
AutoTx/XmlWrapper/ServiceConfig.cs
+
1
−
1
View file @
5c3f1ab8
...
...
@@ -90,7 +90,7 @@ namespace AutoTx.XmlWrapper
public
static
void
Serialize
(
string
file
,
ServiceConfig
c
)
{
// the config is never meant to be written by us, therefore:
throw
new
SettingsPropertyIsReadOnlyException
(
"The config file
should
not be written by the service!"
);
throw
new
SettingsPropertyIsReadOnlyException
(
"The config file
must
not be written by the service!"
);
}
public
static
ServiceConfig
Deserialize
(
string
file
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment