Tags
 IOS SQL HTML C RUBY-ON-RAILS MYSQL ASP.NET DEVELOPMENT RUBY .NET LINUX SQL-SERVER REGEX WINDOWS ALGORITHM ECLIPSE VISUAL-STUDIO STRING SVN PERFORMANCE APACHE-FLEX UNIT-TESTING SECURITY LINQ UNIX MATH EMAIL OOP LANGUAGE-AGNOSTIC VB6

# How to p4 shelve multiple files

By : Lê Thanh Đỗ
Date : September 13 2020, 09:00 PM
will help you p4 shelve [files] takes only a single files argument, which can include a wildcard. Try this:
code :
p4 edit uv5_ni_llp_rcv_crd_m.sv uv5_ni_llp_rcv_crd_vc_m.sv
p4 shelve ...


Share :

## python shelve ... bsddb deprecated ... how to get shelve to use another database?

By : mqqt
Date : March 29 2020, 07:55 AM
like below fixes the issue I seemed to have asked the wrong question. When building the windows exe, py2exe was not including an dbm modules (it couldn't infer this dependency), so at runtime python in desperation tried to find the bdbm module.
this script setup.py includes a module which makes the py2exe version behave like the version run normally. It includes a dbm-clone module (I'm only storing ten simple dictionaries so the basic dumbdbm module is good enough
code :
from distutils.core import setup
import py2exe, sys, os
from glob import glob

sys.argv.append('py2exe')
data_files = [("Microsoft.VC90.CRT", glob(r'C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT\*.*'))]
setup(
data_files=data_files,
windows = ["cashflowSim.py"],
options={
"py2exe":{"includes":["dumbdbm"]}},
zipfile = None
)


## The python shelve.open(...,flag='n') does not create an empty shelve

By : Genti Koltraka
Date : March 29 2020, 07:55 AM
I think the issue was by ths following , I found http://bugs.python.org/issue18039.

## p4 shelve after editing the shelved files along with other files

By : Rohit Kaul
Date : March 29 2020, 07:55 AM
it helps some times You should gotten a change number when you did the p4 shelve. If you can't remember it, p4 opened will tell you. You need to re-open d.txt and give it that change number using p4 reopen -c d.txt. Then run p4 shelve -r to update the shelved files.

## P4 shelve of committed files

By : 아라한사
Date : March 29 2020, 07:55 AM
This might help you You can diff a submitted changelist against the depot at a previous state. In your history tab, (View -> History in Menu Bar), select the changelist of interest. Drag the changelist onto the previous changelist number (be sure you have the top level of your depot/workspace selected, or at least a high enough point to include all your changes). This will open up a dialog which will be a type of directory diff which will show all the changed files. Use the arrows in the toolbar to move between changed files. Use the drag and drop and drag the old file onto the new one to see the changes between the files.
With the command line you can also do this: let's pretend your changelist is 1300

## attic-shelve versus shelve. Are they complementary?

By : superS
Date : March 29 2020, 07:55 AM
Any of those help Attic has not been updated since 2011, whereas Shelve is built-in. I was looking at the same thing myself, and decided to avoid Attic due to lack of maintenance.