vault.exe: GETTIME

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Thomas Linder Puls
Posts: 153
Joined: Tue Jan 20, 2004 2:28 am
Location: PDC, Copenhagen Denmark
Contact:

vault.exe: GETTIME

Post by Thomas Linder Puls » Tue Aug 28, 2018 5:27 am

vault.exe have comments GET, GETLABEL, GETVERSION.

We could very much use a GETTIME that will get files corresponding to a certain time stamp.
Thomas Linder Puls
Visual Prolog www.visual-prolog.com

Tonya
Posts: 862
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: vault.exe: GETTIME

Post by Tonya » Tue Aug 28, 2018 9:01 am

Thank you for providing us with feedback! I have logged your suggestion as a feature request to be considered in upcoming releases. For future inquiries, you can refer to V: 19988.

Tonya Nunn
SourceGear

Tonya
Posts: 862
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: vault.exe: GETTIME

Post by Tonya » Tue Aug 28, 2018 1:25 pm

It was brought to my attention that we have a feature that may suit your needs.

Folder Changes Archive allows you to retrieve files and folders which have changed between two dates or between two labels. I have copied below a link to more information:

http://download.sourcegear.com/misc/vau ... chive.html

For the CLC, there is a CREATE_FCA option:

http://download.sourcegear.com/Vault/10 ... CREATE_FCA

Thanks,

Tonya

Thomas Linder Puls
Posts: 153
Joined: Tue Jan 20, 2004 2:28 am
Location: PDC, Copenhagen Denmark
Contact:

Re: vault.exe: GETTIME

Post by Thomas Linder Puls » Tue Aug 28, 2018 3:59 pm

Thank you.
Thomas Linder Puls
Visual Prolog www.visual-prolog.com

Thomas Linder Puls
Posts: 153
Joined: Tue Jan 20, 2004 2:28 am
Location: PDC, Copenhagen Denmark
Contact:

Re: vault.exe: GETTIME

Post by Thomas Linder Puls » Tue Sep 03, 2019 5:04 am

What is the status on V: 19988?
Thomas Linder Puls
Visual Prolog www.visual-prolog.com

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Re: vault.exe: GETTIME

Post by jclausius » Tue Sep 03, 2019 7:41 am

Hi Thomas,

The feature request is still marked open. A note is on the bug about using CREATE_FCA or the "Folder Changes Archive" within the GUI client. To achieve the desired results.

Have you looked at the CREATE_FCA command? You could set a begin date of Jan 1, 1970, and then an end date of whatever range you need to get the files in an archive format. This would then retrieve all files current as of a given date. Can you provide some feedback on how you need Folder Changes Archive to operate?
Jeff Clausius
SourceGear

Thomas Linder Puls
Posts: 153
Joined: Tue Jan 20, 2004 2:28 am
Location: PDC, Copenhagen Denmark
Contact:

Re: vault.exe: GETTIME

Post by Thomas Linder Puls » Fri Dec 06, 2019 6:17 am

The CREATE_FCA can collect the necessary/correct files.
But retrieving it as an archive is inconvenient.
And furthermore it is not capable of only retrieving and touching necessary files.

Actually, it is a bit strange that GET does not take the same kind of options:

Code: Select all

-latest (default)
-label <label>
-version <version>
-date <date>
Thomas Linder Puls
Visual Prolog www.visual-prolog.com

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Re: vault.exe: GETTIME

Post by jclausius » Fri Dec 06, 2019 9:14 am

Sorry. I should have elaborated a bit more in a work-around to this issue - to solve the problem right now. Since this is a command line, I was thinking a batch file could be used to get the FCA, and then extract the files in place; thereby, touching only the files that had changed.

I've also recorded the details of the GETTIME request.
Jeff Clausius
SourceGear

Thomas Linder Puls
Posts: 153
Joined: Tue Jan 20, 2004 2:28 am
Location: PDC, Copenhagen Denmark
Contact:

Re: vault.exe: GETTIME

Post by Thomas Linder Puls » Mon Dec 09, 2019 5:15 am

Thank you.
Thomas Linder Puls
Visual Prolog www.visual-prolog.com

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Re: vault.exe: GETTIME

Post by jclausius » Fri Apr 03, 2020 1:33 pm

We've implemented some new options ( -BEGINDATE and -ENDDATE ) in GET and GETWILDCARD to provide this functionality. It works by taking 3 different combinations:
  • -BEGINDATE (only) : Get all files where the file's TxDate is greater than or equal to the timestamp argument
  • - ENDDATE (only) : Get all files where the file's TxDate is less than or equal to the timestamp argument
  • -BEGINDATE and -ENDDATE : Get all files where the file's TxDate is between the beginning and ending timestamp arguments
This will ship in the upcoming release of a Vault 10.1 update.
Thomas Linder Puls wrote:
Mon Dec 09, 2019 5:15 am
Thank you.
Jeff Clausius
SourceGear

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Re: vault.exe: GETTIME

Post by jclausius » Tue Jun 09, 2020 7:22 am

The new options for -BEGINDATE and -ENDDATE will be seen Vault 10.1, tentatively scheduled to be released this week.
Thomas Linder Puls wrote:
Tue Aug 28, 2018 5:27 am
vault.exe have comments GET, GETLABEL, GETVERSION.

We could very much use a GETTIME that will get files corresponding to a certain time stamp.
Jeff Clausius
SourceGear

Thomas Linder Puls
Posts: 153
Joined: Tue Jan 20, 2004 2:28 am
Location: PDC, Copenhagen Denmark
Contact:

Re: vault.exe: GETTIME

Post by Thomas Linder Puls » Tue Jun 09, 2020 9:00 am

If I understand this correct, then the GETTIME I have wished corresponds to a GET with an -ENDDATE option.

If that is the case then thank you :-).
Thomas Linder Puls
Visual Prolog www.visual-prolog.com

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Re: vault.exe: GETTIME

Post by jclausius » Tue Jun 09, 2020 3:39 pm

Yes.
Thomas Linder Puls wrote:
Tue Jun 09, 2020 9:00 am
If I understand this correct, then the GETTIME I have wished corresponds to a GET with an -ENDDATE option.
You're welcome. Thank you for being patient and using work-arounds until we implemented it.
If that is the case then thank you :-).
Jeff Clausius
SourceGear

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Re: vault.exe: GETTIME

Post by jclausius » Wed Jun 10, 2020 1:05 pm

We've released Vault 10.1.0 - viewtopic.php?p=82355#p82355
Thomas Linder Puls wrote:
Tue Jun 09, 2020 9:00 am
If I understand this correct, then the GETTIME I have wished corresponds to a GET with an -ENDDATE option.
Jeff Clausius
SourceGear

Post Reply