What steps will reproduce the problem?
1. try to run treetrim on a tree with a deep path
What is the expected output? What do you see instead?
C:\ccviews>"C:\Program Files (x86)\Tree Trim\TreeTrim.Console.exe"
"c:\ccviews\platform-1-Dev2" -workingcopy -deletefromdisk
-zip:writeTo:c:\temp\code.zip
The specified path, file name, or both are too long. The fully qualified file
name must be less than 260 characters, and the directory name must be less than
248 characters.
at System.IO.Path.SafeSetStackPointerValue(Char* buffer, Int32 index, Char value)
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at Dunn.TreeTrim.Disk.CopyFolder(String fromDirectory, String toDirectory)
at Dunn.TreeTrim.Disk.CopyFolder(String fromDirectory, String toDirectory)
at Dunn.TreeTrim.Disk.CopyFolder(String fromDirectory, String toDirectory)
at Dunn.TreeTrim.Disk.CopyFolder(String fromDirectory, String toDirectory)
at Dunn.TreeTrim.Disk.CopyFolder(String fromDirectory, String toDirectory)
at Dunn.TreeTrim.Disk.CopyFolder(String fromDirectory, String toDirectory)
at Dunn.TreeTrim.Disk.CopyFolder(String fromDirectory, String toDirectory)
at Dunn.TreeTrim.Disk.CopyFolder(String fromDirectory, String toDirectory)
at Dunn.TreeTrim.WorkingCopyPlugin.Plugin.Run(IPluginRuntimeSettings settings, IPlugin lastPlugin)
at Dunn.TreeTrim.Task.Run(ITask lastTask)
at Dunn.TreeTrim.Trimmer.TrimTree(ITaskCollection tasks, String sourceTreeRoot)
at TreeTrim.Console.Program.Main(String[] args)
--------
What version of the product are you using? On what operating system?
Version 1.0.1
Windows 7 Ultimate, 64bit
Original issue reported on code.google.com by kla...@mellbourn.net on 23 Jun 2010 at 9:06
Original issue reported on code.google.com by
kla...@mellbourn.net
on 23 Jun 2010 at 9:06